aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/usnic/usnic_fwd.h
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/infiniband/hw/usnic/usnic_fwd.h
parentIB/usnic: Add Cisco VIC low-level hardware driver (diff)
downloadlinux-dev-8192d4acb5c5376c0f6756f2106ab243036c8c7d.tar.xz
linux-dev-8192d4acb5c5376c0f6756f2106ab243036c8c7d.zip
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/infiniband/hw/usnic/usnic_fwd.h')
0 files changed, 0 insertions, 0 deletions