summaryrefslogtreecommitdiff
path: root/net/netfilter/Makefile
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-07-19 21:20:09 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2018-07-30 14:07:09 +0200
commit33b78aaa4457ce5d531c6a06f461f8d402774cad (patch)
treedf09b74fa5b83cb41ca2fdc3ca518e1c0ac222cc /net/netfilter/Makefile
parent51c23b47e6b8590ea7a6a6776ffb21810ece73bf (diff)
netfilter: use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings: net/netfilter/xt_connlimit.c:96:1-3: WARNING: PTR_ERR_OR_ZERO can be used net/netfilter/nft_numgen.c:240:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/Makefile')
0 files changed, 0 insertions, 0 deletions