aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2010-01-15 01:08:58 -0800
committerDavid S. Miller <davem@davemloft.net>2010-01-15 01:08:58 -0800
commit4d0392be21d4710121f855c0caf57d32ffd1ced0 (patch)
treee3f18e591787212918c053532be85657bc202e65 /net/ipv4/fib_semantics.c
parentproc_fops: convert drivers/isdn/ to seq_file (diff)
downloadlinux-dev-4d0392be21d4710121f855c0caf57d32ffd1ced0.tar.xz
linux-dev-4d0392be21d4710121f855c0caf57d32ffd1ced0.zip
net/core/sock.c: quiet sparse noise
In sock_getsockopt the symbol 'lv' is declared as an unsigned int type, probably due to sizeof returning a size_t which is really an unsigned int. This produces a sparse warning for SO_PEERNAME due to the sock->ops->getname() call: warning: incorrect type in argument 3 (different signedness) expected int *sockaddr_len got unsigned int *<noident> Quiet the warning by changing the type of 'lv' to an int. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions