[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <29223.1465483116@warthog.procyon.org.uk>
Date: Thu, 09 Jun 2016 15:38:36 +0100
From: David Howells <dhowells@...hat.com>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: dhowells@...hat.com, kbuild-all@...org,
linux-kernel@...r.kernel.org,
Herbert Xu <herbert@...dor.apana.org.au>,
netdev@...r.kernel.org
Subject: Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings
kbuild test robot <fengguang.wu@...el.com> wrote:
> net/rxrpc/rxkad.c:1165: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
>
> CC: David Howells <dhowells@...hat.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
Acked-by: David Howells <dhowells@...hat.com>
Powered by blists - more mailing lists