summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-mux-gpio.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-28 18:03:09 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-28 18:27:11 +0200
commit0e24d849c4ea777c59955b241fd3af14a1b84af5 (patch)
tree040025f1f7439395233591cdece544708e8ec333 /drivers/net/phy/mdio-mux-gpio.c
parentNFS4: avoid underflow when converting error to pointer. (diff)
downloadlinux-0e24d849c4ea777c59955b241fd3af14a1b84af5.tar.xz
linux-0e24d849c4ea777c59955b241fd3af14a1b84af5.zip
NFSv4: Remove BUG_ON() and ACCESS_ONCE() calls in the idmapper
The use of ACCESS_ONCE() is wrong, since the various routines that set/clear idmap->idmap_key_cons should be strictly ordered w.r.t. each other, and the idmap->idmap_mutex ensures that only one thread at a time may be in an upcall situation. Also replace the BUG_ON()s with WARN_ON_ONCE() where appropriate. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/net/phy/mdio-mux-gpio.c')
0 files changed, 0 insertions, 0 deletions