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

From: David Miller
Date: Sun Aug 14 2016 - 05:28:31 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Fri, 12 Aug 2016 21:29:24 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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 <colin.king@xxxxxxxxxxxxx>

Applied.