Re: [PATCH] MIPS: generic: Return true/false (not 1/0) from bool functions
From: Thomas Bogendoerfer
Date: Thu Aug 12 2021 - 10:25:53 EST
On Wed, Aug 11, 2021 at 12:36:15PM +0800, Huilong Deng wrote:
> ./arch/mips/generic/board-ocelot.c:29:9-10: WARNING: return of 0/1 in
> function 'ocelot_detect' with return type bool
>
> Signed-off-by: Huilong Deng <denghuilong@xxxxxxxxxx>
> ---
> arch/mips/generic/board-ocelot.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]