diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-01 23:57:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-02 13:59:47 -0500 |
commit | 50d5aa4cf822887f88841e4d8f8502434af679a9 (patch) | |
tree | 85052b9f055108729afaec9f8ed4292fdda59e3d /drivers/cpuidle/cpuidle-powernv.c | |
parent | 33d446dbba4d4d6a77e1e900d434fa99e0f02c86 (diff) | |
download | lwn-50d5aa4cf822887f88841e4d8f8502434af679a9.tar.gz lwn-50d5aa4cf822887f88841e4d8f8502434af679a9.zip |
net: renesas: ravb: unintialized return value
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>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpuidle/cpuidle-powernv.c')
0 files changed, 0 insertions, 0 deletions