From: Upinder Malhi Date: Thu, 9 Jan 2014 22:47:33 +0000 (-0800) Subject: IB/usnic: Change WARN_ON to lockdep_assert_held X-Git-Tag: v3.14-rc1~103^2~1^11~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8192d4acb5c5376c0f6756f2106ab243036c8c7d;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed