Re: [PATCH] MIPS: generic: use true and false for bool variable

2021-03-17 Thread Alexandre Belloni
On 15/03/2021 15:15:43+0800, Yang Li wrote: > fixed the following coccicheck: > ./arch/mips/generic/board-ocelot.c:29:9-10: WARNING: return of 0/1 in > function 'ocelot_detect' with return type bool > Can you elaborate why this is an issue and what exactly is fixed? Even the original coccinelle

[PATCH] MIPS: generic: use true and false for bool variable

2021-03-15 Thread Yang Li
fixed the following coccicheck: ./arch/mips/generic/board-ocelot.c:29:9-10: WARNING: return of 0/1 in function 'ocelot_detect' with return type bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/mips/generic/board-ocelot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)