Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418391

Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings
Date 2016-06-09 16:40 +0200
Message-ID <rI9hM-7C2-19@gated-at.bofh.it> (permalink)
References <rGt1f-7iX-3@gated-at.bofh.it> <rGt1f-7iX-1@gated-at.bofh.it> <rGt1f-7iX-3@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


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

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] rxrpc: fix ptr_ret.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2016-06-05 01:20 +0200
  Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings David Miller <davem@davemloft.net> - 2016-06-08 00:40 +0200
  Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings David Howells <dhowells@redhat.com> - 2016-06-09 16:40 +0200

csiph-web