Re: [PATCH net] net: ipv4: fix sparse error in fib_good_nh()

2016-08-19 Thread David Miller
From: Eric Dumazet Date: Thu, 18 Aug 2016 10:19:34 -0700 > From: Eric Dumazet > > 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] > [user

[PATCH net] net: ipv4: fix sparse error in fib_good_nh()

2016-08-18 Thread Eric Dumazet
From: Eric Dumazet 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

Re: [PATCH net] net: ipv4: fix sparse error in fib_good_nh()

2016-08-18 Thread David Ahern
On 8/18/16 11:19 AM, Eric Dumazet wrote: > From: Eric Dumazet > > 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/ip