Re: [PATCH] MIPS: generic: Return true/false (not 1/0) from bool functions

Thomas Bogendoerfer
2021-08-12T14:25:56Z

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@cdjrlc.com>
> ---
> 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 ]