From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Hovold Date: Fri, 02 Dec 2016 09:46:59 +0000 Subject: Re: [patch] net: renesas: ravb: unintialized return value Message-Id: <20161202094659.GK29872@localhost> List-Id: References: <20161201205744.GB10701@mwanda> In-Reply-To: <20161201205744.GB10701@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Sergei Shtylyov , Johan Hovold , "David S. Miller" , Yoshihiro Kaneko , Kazuya Mizuguchi , Simon Horman , Wolfram Sang , Andrew Lunn , Philippe Reynes , Niklas =?iso-8859-1?Q?S=F6derlund?= , Arnd Bergmann , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org 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 Thanks for catching this. Reviewed-by: Johan Hovold Johan