On Thu, Jul 26, 2018 at 03:09:52PM +0800, kbuild test robot wrote: > From: kbuild test robot <fengguang...@intel.com> > > net/xfrm/xfrm_interface.c:692: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: 44e2b838c24d ("xfrm: Return detailed errors from xfrmi_newlink") > CC: Benedict Wong <benedictw...@google.com> > Signed-off-by: kbuild test robot <fengguang...@intel.com>
Applied, thanks!