summaryrefslogtreecommitdiffstats
path: root/drivers/char/lp.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2015-10-30 18:56:45 -0400
committerDavid S. Miller <davem@davemloft.net>2015-11-02 15:54:13 -0500
commit3996a4ffb01f57f82abe6c7e60ac9048dd0c31df (patch)
tree4f398fa8f64ac892b64da589035cbe9000ae4112 /drivers/char/lp.c
parentac00881f922106b45e934dc6988fa9c1ec542d71 (diff)
downloadblackbird-op-linux-3996a4ffb01f57f82abe6c7e60ac9048dd0c31df.tar.gz
blackbird-op-linux-3996a4ffb01f57f82abe6c7e60ac9048dd0c31df.zip
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 <vivien.didelot@savoirfairelinux.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/lp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud