On Wed, May 23, 2018 at 12:53 PM, kbuild test robot <fengguang.wu@xxxxxxxxx> wrote: > From: kbuild test robot <fengguang.wu@xxxxxxxxx> > > net/netfilter/nft_hash.c:180:1-3: WARNING: PTR_ERR_OR_ZERO can be used > net/netfilter/nft_hash.c:223: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: b9ccc07e3f31 ("netfilter: nft_hash: add map lookups for hashing operations") > CC: Laura Garcia Liebana <nevola@xxxxxxxxx> > Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx> Acked-by: Laura Garcia Liebana <nevola@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html