Re: [PATCH net] net/ipv4: avoid compile error in fib_info_nh_uses_dev

2018-09-21 Thread David Ahern
On 9/21/18 10:58 AM, Eric Dumazet wrote: > net/ipv4/fib_frontend.c: In function 'fib_info_nh_uses_dev': > net/ipv4/fib_frontend.c:322:6: error: unused variable 'ret' > [-Werror=unused-variable] > cc1: all warnings being treated as errors > > Fixes: 78f2756c5fc0 ("net/ipv4: Move device validation

Re: [PATCH net] net/ipv4: avoid compile error in fib_info_nh_uses_dev

2018-09-21 Thread Eric Dumazet
On 09/21/2018 10:58 AM, Eric Dumazet wrote: > net/ipv4/fib_frontend.c: In function 'fib_info_nh_uses_dev': > net/ipv4/fib_frontend.c:322:6: error: unused variable 'ret' > [-Werror=unused-variable] > cc1: all warnings being treated as errors > > Fixes: 78f2756c5fc0 ("net/ipv4: Move device valid

[PATCH net] net/ipv4: avoid compile error in fib_info_nh_uses_dev

2018-09-21 Thread Eric Dumazet
net/ipv4/fib_frontend.c: In function 'fib_info_nh_uses_dev': net/ipv4/fib_frontend.c:322:6: error: unused variable 'ret' [-Werror=unused-variable] cc1: all warnings being treated as errors Fixes: 78f2756c5fc0 ("net/ipv4: Move device validation to helper") Signed-off-by: Eric Dumazet Cc: David Ah