printk: Change type of CONFIG_BASE_SMALL to bool
authorYoann Congal <yoann.congal@smile.fr>
Sun, 5 May 2024 08:03:42 +0000 (10:03 +0200)
committerPetr Mladek <pmladek@suse.com>
Mon, 6 May 2024 15:39:09 +0000 (17:39 +0200)
commitb3e90f375b3c7ab85aef631ebb0ad8ce66cbf3fd
treedc481e84dd538220f8f279be9fea702b0a62b9a3
parent320bf43190514be5c00e11f47ec2160dd3993844
printk: Change type of CONFIG_BASE_SMALL to bool

CONFIG_BASE_SMALL is currently a type int but is only used as a boolean.

So, change its type to bool and adapt all usages:
CONFIG_BASE_SMALL == 0 becomes !IS_ENABLED(CONFIG_BASE_SMALL) and
CONFIG_BASE_SMALL != 0 becomes  IS_ENABLED(CONFIG_BASE_SMALL).

Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Link: https://lore.kernel.org/r/20240505080343.1471198-3-yoann.congal@smile.fr
Signed-off-by: Petr Mladek <pmladek@suse.com>
arch/x86/include/asm/mpspec.h
drivers/tty/vt/vc_screen.c
include/linux/threads.h
include/linux/udp.h
include/linux/xarray.h
init/Kconfig
kernel/futex/core.c
kernel/user.c