Re: [PATCH linux-next] include:crash_dump: fix boolreturn.cocci warnings

2021-08-26 Thread Dave Young
On 08/23/21 at 11:01pm, CGEL wrote: > From: Jing Yangyang > > ./include/linux/crash_dump.h:98: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. > > Generated by:

[PATCH linux-next] include:crash_dump: fix boolreturn.cocci warnings

2021-08-24 Thread CGEL
From: Jing Yangyang ./include/linux/crash_dump.h:98: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. Generated by: scripts/coccinelle/misc/boolreturn.cocci Reported-by: Zeal