Hi,
On Thu, Feb 18, 2021 at 05:59:53PM +0800, kernel test robot wrote:
> From: kernel test robot
>
> drivers/input/touchscreen/zinitix.c:250:8-9: WARNING: return of 0/1 in
> function 'zinitix_init_touch' with return type bool
>
> Return statements in functions returning bool should use
> tru
From: kernel test robot
drivers/input/touchscreen/zinitix.c:250:8-9: WARNING: return of 0/1 in function
'zinitix_init_touch' 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
Fixes:
From: kbuild test robot
drivers/input/misc/da7280.c:116:9-10: WARNING: return of 0/1 in function
'da7280_volatile_register' 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
Fixes:
3 matches
Mail list logo