commit | d16d9d2ad778e8247617c10703dfd749c776f242 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Aug 12 21:29:24 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 13 15:51:49 2016 -0700 |
tree | 1a529424559e184ee844ff57b8a22a20c9cd1b48 | |
parent | 1e10f3fbfb1c351768576b756c60f83922b65e5e [diff] |
net: phy: initialize rc to zero to avoid returning garbage value 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@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>