1
0
Fork 0
alistair23-linux/net/rxrpc
Wu Fengguang fa54cc70ed rxrpc: fix ptr_ret.cocci warnings
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-07 15:30:21 -07:00
..
Kconfig rxrpc: Absorb the rxkad security module 2016-04-11 15:34:41 -04:00
Makefile rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
af_rxrpc.c rxrpc: Absorb the rxkad security module 2016-04-11 15:34:41 -04:00
ar-accept.c rxrpc: Don't pass gfp around in incoming call handling functions 2016-04-11 15:34:41 -04:00
ar-ack.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
ar-call.c rxrpc: Don't pass gfp around in incoming call handling functions 2016-04-11 15:34:41 -04:00
ar-connection.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
ar-connevent.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
ar-error.c rxrpc: Don't try to map ICMP to error as the lower layer already did that 2016-03-04 16:02:03 +00:00
ar-input.c net: udp: rename UDP_INC_STATS_BH() 2016-04-27 22:48:23 -04:00
ar-internal.h rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
ar-key.c KEYS: Add a facility to restrict new links into a keyring 2016-04-11 22:37:37 +01:00
ar-local.c rxrpc: Keep the skb private record of the Rx header in host byte order 2016-03-04 15:53:46 +00:00
ar-output.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
ar-peer.c rxrpc: Keep the skb private record of the Rx header in host byte order 2016-03-04 15:53:46 +00:00
ar-proc.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-recvmsg.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-security.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
ar-skbuff.c rxrpc: Adjust some whitespace and comments 2016-03-04 15:56:19 +00:00
ar-transport.c rxrpc: Replace all unsigned with unsigned int 2016-03-13 15:14:57 -04:00
insecure.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
misc.c rxrpc: Static arrays of strings should be const char *const[] 2016-04-11 15:34:40 -04:00
rxkad.c rxrpc: fix ptr_ret.cocci warnings 2016-06-07 15:30:21 -07:00
sysctl.c rxrpc: Replace all unsigned with unsigned int 2016-03-13 15:14:57 -04:00