On Wed, May 23, 2018 at 12:58 PM, kbuild test robot
<fengguang...@intel.com> wrote:
> From: kbuild test robot <fengguang...@intel.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 <nev...@gmail.com>
> Signed-off-by: kbuild test robot <fengguang...@intel.com>

Acked-by: Laura Garcia Liebana <nev...@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to