net: ipv4: fix sparse error in fib_good_nh()
authorEric Dumazet <edumazet@google.com>
Thu, 18 Aug 2016 17:19:34 +0000 (10:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2016 00:07:30 +0000 (17:07 -0700)
commitd985d15151c0e9d3add8050da77d8f507f6cc7f5
tree5599ab97e9e4ae0115622c8557cfd309d99e82a9
parent217375a0c677d2e885cb05f767af34467399b424
net: ipv4: fix sparse error in fib_good_nh()

Fixes following sparse errors :

net/ipv4/fib_semantics.c:1579:61: warning: incorrect type in argument 2
(different base types)
net/ipv4/fib_semantics.c:1579:61:    expected unsigned int [unsigned]
[usertype] key
net/ipv4/fib_semantics.c:1579:61:    got restricted __be32 const
[usertype] nh_gw

Fixes: a6db4494d218c ("net: ipv4: Consider failed nexthops in multipath routes")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c