From: Fengguang Wu Date: Fri, 27 Dec 2013 10:13:03 +0000 (+0100) Subject: netfilter: ipset: Add hash: fix coccinelle warnings X-Git-Tag: v3.15-rc1~113^2~144^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9562cf28d1b48d0545d7b5dd2995d00b45e1cb53;p=pandora-kernel.git netfilter: ipset: Add hash: fix coccinelle warnings net/netfilter/ipset/ip_set_hash_netnet.c:115:8-9: WARNING: return of 0/1 in function 'hash_netnet4_data_list' with return type bool /c/kernel-tests/src/cocci/net/netfilter/ipset/ip_set_hash_netnet.c:338:8-9: WARNING: return of 0/1 in function 'hash_netnet6_data_list' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: coccinelle/misc/boolreturn.cocci Signed-off-by: Fengguang Wu Signed-off-by: Jozsef Kadlecsik --- Reading git-diff-tree failed