summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-08-12 22:29:24 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-14 00:51:49 +0200
commitd16d9d2ad778e8247617c10703dfd749c776f242 (patch)
tree1a529424559e184ee844ff57b8a22a20c9cd1b48 /net/core
parentnet: bfin_mac: Fix a few spelling fixes (diff)
downloadlinux-d16d9d2ad778e8247617c10703dfd749c776f242.tar.xz
linux-d16d9d2ad778e8247617c10703dfd749c776f242.zip
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions