diff options
| author | Adrian Bunk <[email protected]> | 2007-04-04 19:08:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-04-04 21:12:47 -0700 |
| commit | 418106d6248618bca1add65168a82974c72206db (patch) | |
| tree | fe8b9484c06814c8d11f4e114db460ebbe613f3c /include/linux/debugobjects.h | |
| parent | 5792a2856a63cdc568e08a7d6f9b2413d9217b3e (diff) | |
[PATCH] net/sunrpc/svcsock.c: fix a check
The return value of kernel_recvmsg() should be assigned to "err", not
compared with the random value of a never initialized "err" (and the "< 0"
check wrongly always returned false since == comparisons never have a
result < 0).
Spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions