commit | 1d9619d5337df6cf56eb66b6c8213d1317583513 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Apr 25 23:11:22 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 28 16:29:20 2016 -0400 |
tree | 192ca5415164c14b3833864f9a2e139f1aeb31f6 | |
parent | 7b7483409f09c15f30ac43242ead1ab3061e1f59 [diff] |
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>