Subject: Re: [PATCH] netfilter: ipset: fix boolreturn.cocci warnings

From: Pablo Neira Ayuso <[email-masked]>
Date: Wed, 11 Mar 2015 20:12:40 +0100

Hi Jozsef,

On Wed, Mar 11, 2015 at 08:08:26PM +0100, Jozsef Kadlecsik wrote:
> On Wed, 11 Feb 2015, kbuild test robot wrote:
> 
> > net/netfilter/xt_set.c:196:9-10: WARNING: return of 0/1 in function 'set_match_v3' with return type bool
> > net/netfilter/xt_set.c:242:9-10: WARNING: return of 0/1 in function 'set_match_v4' 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
> > 
> > CC: Jozsef Kadlecsik <[email-masked]>
> > Signed-off-by: Fengguang Wu <[email-masked]>
> 
> Patch is applied, thanks.

I took the liberty to pass this to David already.

7f73b9f netfilter: ipset: fix boolreturn.cocci warnings