diff options
| author | Yoann Congal <[email protected]> | 2024-05-05 08:03:42 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-05-06 15:39:09 +0000 |
| commit | b3e90f375b3c7ab85aef631ebb0ad8ce66cbf3fd (patch) | |
| tree | dc481e84dd538220f8f279be9fea702b0a62b9a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | printk: Fix LOG_CPU_MAX_BUF_SHIFT when BASE_SMALL is enabled (diff) | |
| download | kernel-b3e90f375b3c7ab85aef631ebb0ad8ce66cbf3fd.tar.gz kernel-b3e90f375b3c7ab85aef631ebb0ad8ce66cbf3fd.zip | |
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 <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Masahiro Yamada <[email protected]>
Signed-off-by: Yoann Congal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
