aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2015-10-30 18:56:45 -0400
committerDavid S. Miller <[email protected]>2015-11-02 15:54:13 -0500
commit3996a4ffb01f57f82abe6c7e60ac9048dd0c31df (patch)
tree4f398fa8f64ac892b64da589035cbe9000ae4112 /lib/netdev-notifier-error-inject.c
parentac00881f922106b45e934dc6988fa9c1ec542d71 (diff)
net: dsa: mv88e6xxx: assert SMI lock
It's easy to forget to lock the smi_mutex before calling the low-level _mv88e6xxx_reg_{read,write}, so add a assert_smi_lock function in them. Signed-off-by: Vivien Didelot <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions