commit | 24751e29fe313105c9dd5f9d1f27028c553381f6 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Aug 03 09:17:44 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 03 15:46:09 2015 -0700 |
tree | 7d33adae616121265e969337ea9f0eea853813f9 | |
parent | e44deb2f0cce9183ca94d14effd4170a35eec31d [diff] |
net: dsa: mv88e6xxx: call _mv88e6xxx_stats_wait with SMI lock held At switch setup, _mv88e6xxx_stats_wait was called without holding the SMI mutex. Fix this by requesting the lock for this call. Also, return the _mv88e6xxx_stats_wait code, since it may fail. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>