]> git.baikalelectronics.ru Git - kernel.git/commit
net: ip_sockglue.c add static, annotate ports' endianness
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 20 Nov 2008 09:54:27 +0000 (01:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 09:54:27 +0000 (01:54 -0800)
commit8a1a5a89e307a94a6aefc80db3a95234efe0844e
treedac48eb0f355ec46e565577c43efa7cb9c8f8fb1
parent3ce2e91fbb5172e6b2322fdef5fe9ddc39026f64
net: ip_sockglue.c add static, annotate ports' endianness

Fixes sparse warnings:
net/ipv4/ip_sockglue.c:146:15: warning: incorrect type in assignment (different base types)
net/ipv4/ip_sockglue.c:146:15:    expected restricted __be16 [assigned] [usertype] sin_port
net/ipv4/ip_sockglue.c:146:15:    got unsigned short [unsigned] [short] [usertype] <noident>
net/ipv4/ip_sockglue.c:130:6: warning: symbol 'ip_cmsg_recv_dstaddr' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c