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)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:04:45 +0000 (14:04 +0200)
commitc0dd8fff25130e93d2a7c0bfe2bca2d4db60fe89
tree799ac67fed51c559dfcef0405185f4eab328d272
parent3fa1aeb6d3bb3776ab57ae798be5c289b790b955
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/char/Kconfig