]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit21d1a161f6b1fff154e3614a6b5a2111fa7a4191
treedac48eb0f355ec46e565577c43efa7cb9c8f8fb1
parent00b5e50549aa9da770f1161907b4ed68aa4ece3a
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