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


Groups > linux.kernel > #1416687

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings
Date 2016-06-08 00:40 +0200
Message-ID <rHxPc-6k-19@gated-at.bofh.it> (permalink)
References <rGt1f-7iX-1@gated-at.bofh.it> <rGt1f-7iX-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: kbuild test robot <fengguang.wu@intel.com>
Date: Sun, 5 Jun 2016 07:17:19 +0800

> 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>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Next 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