diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-04-26 01:11:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-28 23:29:20 +0300 |
commit | 1d9619d5337df6cf56eb66b6c8213d1317583513 (patch) | |
tree | 192ca5415164c14b3833864f9a2e139f1aeb31f6 /drivers/net/usb/lan78xx.c | |
parent | 7b7483409f09c15f30ac43242ead1ab3061e1f59 (diff) | |
download | linux-1d9619d5337df6cf56eb66b6c8213d1317583513.tar.xz |
net: dsa: mv88e6xxx: fix uninitialized error return
The error return err is not initialized and there is a possibility
that err is not assigned causing mv88e6xxx_port_bridge_join to
return a garbage error return status. Fix this by initializing err
to 0.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/lan78xx.c')
0 files changed, 0 insertions, 0 deletions