kbuild test robot <fengguang...@intel.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 <dhowe...@redhat.com>
> Signed-off-by: Fengguang Wu <fengguang...@intel.com>

Acked-by: David Howells <dhowe...@redhat.com>

Reply via email to