[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF90-WhsJTVcM+N_7n+4Zf_Knqzxc0UPv4i7bAM6Mvqu-GLHCw@mail.gmail.com>
Date: Thu, 24 May 2018 12:40:04 +0200
From: Laura Garcia <nevola@...il.com>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: kbuild-all@...org, Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
Netfilter Development Mailing list
<netfilter-devel@...r.kernel.org>, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netfilter: nft_numgen: fix ptr_ret.cocci warnings
On Wed, May 23, 2018 at 12:58 PM, kbuild test robot
<fengguang.wu@...el.com> wrote:
> From: kbuild test robot <fengguang.wu@...el.com>
>
> net/netfilter/nft_numgen.c:117: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
>
> Fixes: d734a2888922 ("netfilter: nft_numgen: add map lookups for numgen statements")
> CC: Laura Garcia Liebana <nevola@...il.com>
> Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
Acked-by: Laura Garcia Liebana <nevola@...il.com>
Powered by blists - more mailing lists