Re: [PATCH] net: phy: initialize rc to zero to avoid returning garbage value

2016-08-14 Thread David Miller
From: Colin King Date: Fri, 12 Aug 2016 21:29:24 +0100 > From: Colin Ian King > > In the case where phydev->interrupts is not PHY_INTERRUPT_ENABLED > function vsc85xx_ack_interrupt is returning an uninitialized > garbage value. Fix this by initializing rc to zero. > > Signed-off-by: Colin Ian

[PATCH] net: phy: initialize rc to zero to avoid returning garbage value

2016-08-12 Thread Colin King
From: Colin Ian King In the case where phydev->interrupts is not PHY_INTERRUPT_ENABLED function vsc85xx_ack_interrupt is returning an uninitialized garbage value. Fix this by initializing rc to zero. Signed-off-by: Colin Ian King --- drivers/net/phy/mscc.c | 2 +- 1 file changed, 1 insertion(