Thread (5 messages) flat view 5 messages, 4 authors, 2019-06-09

Re: [PATCH] net: ipv4: fib_semantics: fix uninitialized variable

From: David Miller <davem@davemloft.net>
Date: 2019-06-09 19:48:00
Also in: lkml

From: "Enrico Weigelt, metux IT consult" <info@metux.net>
Date: Thu,  6 Jun 2019 16:43:17 +0200
From: Enrico Weigelt <info@metux.net>

fix an uninitialized variable:

  CC      net/ipv4/fib_semantics.o
net/ipv4/fib_semantics.c: In function 'fib_check_nh_v4_gw':
net/ipv4/fib_semantics.c:1027:12: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (!tbl || err) {
            ^~

Signed-off-by: Enrico Weigelt <info@metux.net>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help