Re: [PATCH] net: ipva: fix uninitialized variable warning

From: David Miller
Date: Sat Jun 15 2019 - 16:41:38 EST


From: Charles <18oliveira.charles@xxxxxxxxx>
Date: Thu, 13 Jun 2019 14:28:41 -0300

> Avoid following compiler warning on uninitialized variable
>
> net/ipv4/fib_semantics.c: In function ʽfib_check_nh_v4_gwʼ:
> net/ipv4/fib_semantics.c:1023:12: warning: ʽerrʼ may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> if (!tbl || err) {
>
> Signed-off-by: Charles Oliveira <18oliveira.charles@xxxxxxxxx>

This is already fixed in the 'net' GIT tree, please always submit networking
patches against the appropriate tree.

Thank you.