diff options
author | 2016-08-12 21:29:24 +0100 | |
---|---|---|
committer | 2016-08-13 15:51:49 -0700 | |
commit | d16d9d2ad778e8247617c10703dfd749c776f242 (patch) | |
tree | 1a529424559e184ee844ff57b8a22a20c9cd1b48 /net/core/net_namespace.c | |
parent | net: bfin_mac: Fix a few spelling fixes (diff) | |
download | linux-dev-d16d9d2ad778e8247617c10703dfd749c776f242.tar.xz linux-dev-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/net_namespace.c')
0 files changed, 0 insertions, 0 deletions