netfilter: ipset: hash: fix boolreturn.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Sat, 15 Oct 2016 01:13:14 +0000 (09:13 +0800)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 12:28:50 +0000 (13:28 +0100)
commit737d387b75ec79d62b12fd8996c634b4635cc98f
tree44633f0282a29a7e2d8d1cdca03a05c4d8112fad
parentfcb58a033271e448c3e49a3b3d3e9e0c0bcf61d9
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>
net/netfilter/ipset/ip_set_hash_ipmac.c