diff options
author | Changcheng Deng <[email protected]> | 2021-11-08 18:35:07 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-11-09 10:02:52 -0800 |
commit | 5605f41917c6ad766814a8e417a4481e9157c991 (patch) | |
tree | 04882bbe2c793e0b66ec93f988466db22c284d1b /scripts/gdb/linux/utils.py | |
parent | 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb (diff) |
crash_dump: fix boolreturn.cocci warning
./include/linux/crash_dump.h: 119: 50-51: WARNING: return of 0/1 in
function 'is_kdump_kernel' with return type bool
Return statements in functions returning bool should use true/false
instead of 1/0.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Changcheng Deng <[email protected]>
Reported-by: Zeal Robot <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Baoquan He <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Ye Guojin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions