From: Johan Hovold <johan@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: "Sergei Shtylyov" <sergei.shtylyov@cogentembedded.com>,
"Johan Hovold" <johan@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
"Yoshihiro Kaneko" <ykaneko0929@gmail.com>,
"Kazuya Mizuguchi" <kazuya.mizuguchi.ks@renesas.com>,
"Simon Horman" <horms+renesas@verge.net.au>,
"Wolfram Sang" <wsa+renesas@sang-engineering.com>,
"Andrew Lunn" <andrew@lunn.ch>,
"Philippe Reynes" <tremyfr@gmail.com>,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
"Arnd Bergmann" <arnd@arndb.de>,
netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [patch] net: renesas: ravb: unintialized return value
Date: Fri, 02 Dec 2016 09:46:59 +0000 [thread overview]
Message-ID: <20161202094659.GK29872@localhost> (raw)
In-Reply-To: <20161201205744.GB10701@mwanda>
On Thu, Dec 01, 2016 at 11:57:44PM +0300, Dan Carpenter wrote:
> We want to set the other "err" variable here so that we can return it
> later. My version of GCC misses this issue but I caught it with a
> static checker.
> Fixes: 9f70eb339f52 ("net: ethernet: renesas: ravb: fix fixed-link phydev leaks")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks for catching this.
Reviewed-by: Johan Hovold <johan@kernel.org>
Johan
WARNING: multiple messages have this Message-ID (diff)
From: Johan Hovold <johan@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: "Sergei Shtylyov" <sergei.shtylyov@cogentembedded.com>,
"Johan Hovold" <johan@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
"Yoshihiro Kaneko" <ykaneko0929@gmail.com>,
"Kazuya Mizuguchi" <kazuya.mizuguchi.ks@renesas.com>,
"Simon Horman" <horms+renesas@verge.net.au>,
"Wolfram Sang" <wsa+renesas@sang-engineering.com>,
"Andrew Lunn" <andrew@lunn.ch>,
"Philippe Reynes" <tremyfr@gmail.com>,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
"Arnd Bergmann" <arnd@arndb.de>,
netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [patch] net: renesas: ravb: unintialized return value
Date: Fri, 2 Dec 2016 10:46:59 +0100 [thread overview]
Message-ID: <20161202094659.GK29872@localhost> (raw)
In-Reply-To: <20161201205744.GB10701@mwanda>
On Thu, Dec 01, 2016 at 11:57:44PM +0300, Dan Carpenter wrote:
> We want to set the other "err" variable here so that we can return it
> later. My version of GCC misses this issue but I caught it with a
> static checker.
> Fixes: 9f70eb339f52 ("net: ethernet: renesas: ravb: fix fixed-link phydev leaks")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks for catching this.
Reviewed-by: Johan Hovold <johan@kernel.org>
Johan
next prev parent reply other threads:[~2016-12-02 9:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 20:57 [patch] net: renesas: ravb: unintialized return value Dan Carpenter
2016-12-01 20:57 ` Dan Carpenter
2016-12-01 21:13 ` Sergei Shtylyov
2016-12-01 21:13 ` Sergei Shtylyov
2016-12-02 9:46 ` Johan Hovold [this message]
2016-12-02 9:46 ` Johan Hovold
2016-12-02 19:00 ` David Miller
2016-12-02 19:00 ` David Miller
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=20161202094659.GK29872@localhost \
--to=johan@kernel.org \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=dan.carpenter@oracle.com \
--cc=davem@davemloft.net \
--cc=horms+renesas@verge.net.au \
--cc=kazuya.mizuguchi.ks@renesas.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=tremyfr@gmail.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=ykaneko0929@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.