Re: [PATCH] Input: fix boolreturn.cocci warnings

2021-02-18 Thread Dmitry Torokhov
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

[PATCH] Input: fix boolreturn.cocci warnings

2021-02-18 Thread kernel test robot
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:

[PATCH] Input: fix boolreturn.cocci warnings

2018-08-15 Thread kbuild test robot
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: