[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180727053940.wwnuevlwmdghz4d4@gauss3.secunet.de>
Date: Fri, 27 Jul 2018 07:39:40 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: kbuild test robot <fengguang.wu@...el.com>
CC: Benedict Wong <benedictwong@...gle.com>, <kbuild-all@...org>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH] xfrm: fix ptr_ret.cocci warnings
On Thu, Jul 26, 2018 at 03:09:52PM +0800, kbuild test robot wrote:
> From: kbuild test robot <fengguang.wu@...el.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 <benedictwong@...gle.com>
> Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
Applied, thanks!
Powered by blists - more mailing lists