Messages in this thread | | | Date | Thu, 12 Aug 2021 16:10:15 +0200 | From | Thomas Bogendoerfer <> | Subject | Re: [PATCH] MIPS: generic: Return true/false (not 1/0) from bool functions |
| |
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 ]
| |