diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2016-10-15 09:13:14 +0800 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2016-11-10 13:28:50 +0100 |
commit | 737d387b75ec79d62b12fd8996c634b4635cc98f (patch) | |
tree | 44633f0282a29a7e2d8d1cdca03a05c4d8112fad /net/netfilter/xt_connlabel.c | |
parent | fcb58a033271e448c3e49a3b3d3e9e0c0bcf61d9 (diff) |
netfilter: ipset: hash: fix boolreturn.cocci warnings
net/netfilter/ipset/ip_set_hash_ipmac.c:70:8-9: WARNING: return of 0/1 in function 'hash_ipmac4_data_list' with return type bool
net/netfilter/ipset/ip_set_hash_ipmac.c:178:8-9: WARNING: return of 0/1 in function 'hash_ipmac6_data_list' 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: Tomasz Chilinski <tomasz.chilinski@chilan.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'net/netfilter/xt_connlabel.c')
0 files changed, 0 insertions, 0 deletions