Thread (6 messages) 6 messages, 3 authors, 2015-03-11

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

flat view

From: Jozsef Kadlecsik <hidden>
Date: 2015-03-11 19:20:12
Also in: lkml, netfilter-devel

On Wed, 11 Mar 2015, Pablo Neira Ayuso wrote:
Hi Jozsef,

On Wed, Mar 11, 2015 at 08:08:26PM +0100, Jozsef Kadlecsik wrote:
quoted
On Wed, 11 Feb 2015, kbuild test robot wrote:
quoted
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 <redacted>
Signed-off-by: Fengguang Wu <redacted>
Patch is applied, thanks.
I took the liberty to pass this to David already.

7f73b9f netfilter: ipset: fix boolreturn.cocci warnings
I acked it actually :-))) - just forgot about it. Sorry for the noise.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help