]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: fix route mark sparse warning
authorstephen hemminger <shemminger@vyatta.com>
Wed, 10 Oct 2012 08:27:25 +0000 (08:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 02:54:59 +0000 (22:54 -0400)
commitb6dac3cb99165116b037154c827e4a68e8e7f92e
treed71ae8f7296be4bc370174829ed2438c14a469c4
parentaf5331ec68b089a0263311855ba44704006c71e0
ipv4: fix route mark sparse warning

Sparse complains about RTA_MARK which is should be host order according
to include file and usage in iproute.

net/ipv4/route.c:2223:46: warning: incorrect type in argument 3 (different base types)
net/ipv4/route.c:2223:46:    expected restricted __be32 [usertype] value
net/ipv4/route.c:2223:46:    got unsigned int [unsigned] [usertype] flowic_mark

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c