[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190609.124758.1263532600061409322.davem@davemloft.net>
Date: Sun, 09 Jun 2019 12:47:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: info@...ux.net
Cc: linux-kernel@...r.kernel.org, kuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: ipv4: fib_semantics: fix uninitialized variable
From: "Enrico Weigelt, metux IT consult" <info@...ux.net>
Date: Thu, 6 Jun 2019 16:43:17 +0200
> From: Enrico Weigelt <info@...ux.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@...ux.net>
Applied.
Powered by blists - more mailing lists