summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorUpinder Malhi <umalhi@cisco.com>2014-01-09 14:47:33 -0800
committerRoland Dreier <roland@purestorage.com>2014-01-14 00:44:40 -0800
commit8192d4acb5c5376c0f6756f2106ab243036c8c7d (patch)
treea6f89a696ac9b028054fd97bf4d59da69c9164db /drivers/misc
parente3cf00d0a87f025db5855a43a67c67a41fa79fef (diff)
IB/usnic: Change WARN_ON to lockdep_assert_held
usNIC calls WARN_ON(spin_is_locked..) at few places. In some of these instances, the call is made while holding a spinlock. Change all WARN_ON(spin_is_locked...) calls in usNIC to lockdep_assert_held to make it fool-proof bc the latter can be called while holding a spinlock and unlike spin_is_locked, lockdep_assert_held also works correctly on UP. Signed-off-by: Upinder Malhi <umalhi@cisco.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions