summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/sky2.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-20 09:41:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-20 09:41:30 +0200
commiteed3c957dd8cb794d6010137266cd91e0502c86d (patch)
treef2e8a6272193c9f773d8327cf7f24e799dae8f32 /drivers/net/ethernet/marvell/sky2.c
parent313da01ad524771046beddb18faffc5b3caf930f (diff)
parentba47d845d715a010f7b51f6f89bae32845e6acb7 (diff)
downloadlwn-eed3c957dd8cb794d6010137266cd91e0502c86d.tar.gz
lwn-eed3c957dd8cb794d6010137266cd91e0502c86d.zip
Merge 5.8-rc6 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/sky2.c')
-rw-r--r--drivers/net/ethernet/marvell/sky2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index 241f00716979..fe54764caea9 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -203,7 +203,7 @@ io_error:
static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg)
{
- u16 v;
+ u16 v = 0;
__gm_phy_read(hw, port, reg, &v);
return v;
}