char: lack of bool string made CONFIG_DEVPORT always on
authorMax Bires <jbires@google.com>
Tue, 3 Jan 2017 16:18:07 +0000 (08:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jan 2017 07:28:52 +0000 (08:28 +0100)
commitf2cfa58b136e4b06a9b9db7af5ef62fbb5992f62
tree3171a9aeba6f13534abe554ce73d6686e8321304
parent874bcd00f520cac297aefade201c4efc07fc8d17
char: lack of bool string made CONFIG_DEVPORT always on

Without a bool string present, using "# CONFIG_DEVPORT is not set" in
defconfig files would not actually unset devport. This esnured that
/dev/port was always on, but there are reasons a user may wish to
disable it (smaller kernel, attack surface reduction) if it's not being
used. Adding a message here in order to make this user visible.

Signed-off-by: Max Bires <jbires@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/Kconfig