From: David Miller <davem@davemloft.net>
To: 18oliveira.charles@gmail.com
Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
rodrigosiqueiramelo@gmail.com
Subject: Re: [PATCH] net: ipva: fix uninitialized variable warning
Date: Sat, 15 Jun 2019 13:36:48 -0700 (PDT) [thread overview]
Message-ID: <20190615.133648.604999451957743947.davem@davemloft.net> (raw)
In-Reply-To: <20190613172841.s4ig3p53wpd2z3nb@debie>
From: Charles <18oliveira.charles@gmail.com>
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@gmail.com>
This is already fixed in the 'net' GIT tree, please always submit networking
patches against the appropriate tree.
Thank you.
prev parent reply other threads:[~2019-06-15 20:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 17:28 [PATCH] net: ipva: fix uninitialized variable warning Charles
2019-06-15 20:36 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190615.133648.604999451957743947.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=18oliveira.charles@gmail.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rodrigosiqueiramelo@gmail.com \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox