summaryrefslogtreecommitdiff
path: root/include/linux/pfkeyv2.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-02-09 02:06:08 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-09 02:06:08 +0300
commit4387ff75f29412a234d394b0276c2b239d3d3844 (patch)
treeca338c8c4c1b0c51df8720b712f18871fc74fca8 /include/linux/pfkeyv2.h
parent23bb80d2158cf4421fe239d788fd53cafb151050 (diff)
downloadlinux-4387ff75f29412a234d394b0276c2b239d3d3844.tar.xz
[NET]: Fix net/socket.c warnings.
GCC (correctly) says: net/socket.c: In function ‘sys_sendto’: net/socket.c:1510: warning: ‘err’ may be used uninitialized in this function net/socket.c: In function ‘sys_recvfrom’: net/socket.c:1571: warning: ‘err’ may be used uninitialized in this function sock_from_file() either returns filp->private_data or it sets *err and returns NULL. Callers return "err" on NULL, but filp->private_data could be NULL. Some minor rearrangements of error handling in sys_sendto and sys_recvfrom solves the issue. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pfkeyv2.h')
0 files changed, 0 insertions, 0 deletions