android_kernel_xiaomi_sm8350/net
KAMBAROV, ZAUR 7e8d7e3c9e [PATCH] coverity: sunrpc/xprt task null check
In __xprt_lock_write() we check to see if `task' is NULL, but in other places
we just go and dereference it.

`task' shouldn't be NULL anyway, so remove this test.

This defect was found automatically by Coverity Prevent, a static analysis
tool.

Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-07 18:23:47 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge
core
decnet
econet
ethernet
ipv4 [TCP]: Never TSO defer under periods of congestion. 2005-07-05 15:43:58 -07:00
ipv6
ipx
irda
key
lapb
llc
netlink
netrom
packet
rose
rxrpc
sched [PKT_SCHED]: Blackhole queueing discipline 2005-07-05 15:29:16 -07:00
sctp
sunrpc [PATCH] coverity: sunrpc/xprt task null check 2005-07-07 18:23:47 -07:00
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE