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>
Showing
- arch/x86/include/asm/mpspec.h 3 additions, 3 deletionsarch/x86/include/asm/mpspec.h
- drivers/tty/vt/vc_screen.c 1 addition, 1 deletiondrivers/tty/vt/vc_screen.c
- include/linux/threads.h 2 additions, 2 deletionsinclude/linux/threads.h
- include/linux/udp.h 1 addition, 1 deletioninclude/linux/udp.h
- include/linux/xarray.h 1 addition, 1 deletioninclude/linux/xarray.h
- init/Kconfig 2 additions, 4 deletionsinit/Kconfig
- kernel/futex/core.c 1 addition, 1 deletionkernel/futex/core.c
- kernel/user.c 1 addition, 1 deletionkernel/user.c
Loading
Please register or sign in to comment