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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 28 Apr 2017 17:30:47 +0000 (19:30 +0200)
commit1b991103f0a363e22001fd479fa90d27cf6c9381
tree4495849c805ee251538df2e837d0aeb415083dd0
parent932ae8d926eeb0b2247a52df21c9f3b2c4de7fcb
char: lack of bool string made CONFIG_DEVPORT always on

commit f2cfa58b136e4b06a9b9db7af5ef62fbb5992f62 upstream.

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: Jiri Slaby <jslaby@suse.cz>
drivers/char/Kconfig