From: Wu Fengguang Date: Wed, 11 Feb 2015 12:33:05 +0000 (+0800) Subject: netfilter: ipset: fix boolreturn.cocci warnings X-Git-Tag: omap-for-v4.2/o2_dc~131^2~373^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f73b9f1ca7334eec0ff9a40e37ece92dd3e420f;p=pandora-kernel.git 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 Signed-off-by: Fengguang Wu Acked-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed