commit | 64b2f72671a9a8cbea1aa575d3ea3998987e8c53 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jun 23 18:17:04 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 25 11:42:33 2017 -0400 |
tree | e62dd809b59f1aa4f7c6c4c4160a2cc876e247e9 | |
parent | 74811a710e18c22eca1ffbf97ebd6201efea7d91 [diff] |
net: dsa: mv88e6xxx: fix error code in mv88e6390_serdes_power() We're accidentally returning the wrong variable. "cmode" is uninitialized at this point so it causes a static checker warning. Fixes: 6335e9f2446b ("net: dsa: mv88e6xxx: mv88e6390X SERDES support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>