diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-02-11 20:33:05 +0800 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-03-11 20:05:09 +0100 |
commit | fee333d674a4c697c1f33952bbc060ee810d9307 (patch) | |
tree | e63296f51b8f4e3e7a0f274783de3f20ec784be1 /src/ipset.8 | |
parent | d4db8168b321f787185ff9f64100e6e052be214a (diff) |
netfilter: ipset: fix boolreturn.cocci warnings
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 <kadlec@blackhole.kfki.hu>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'src/ipset.8')
0 files changed, 0 insertions, 0 deletions