Re: [PATCH for-next 5/9] IB/usnic: Change BUG_ON to WARN_ON

2014-01-07 Thread Upinder Malhi (umalhi)
Ack. Upinder On Dec 21, 2013, at 2:04 AM, Bart Van Assche bvanass...@acm.org wrote: On 12/17/13 17:48, Upinder Malhi wrote: usNIC calls BUG_ON(spinlock_is_held..) at few places. In some of these instances, the call is made with another spinlock already held. Change all such calls in usNIC

Re: [PATCH for-next 5/9] IB/usnic: Change BUG_ON to WARN_ON

2013-12-21 Thread Bart Van Assche
On 12/17/13 17:48, Upinder Malhi wrote: usNIC calls BUG_ON(spinlock_is_held..) at few places. In some of these instances, the call is made with another spinlock already held. Change all such calls in usNIC to WARN_ON to make it fool-proof. Signed-off-by: Upinder Malhi uma...@cisco.com ---

[PATCH for-next 5/9] IB/usnic: Change BUG_ON to WARN_ON

2013-12-17 Thread Upinder Malhi
usNIC calls BUG_ON(spinlock_is_held..) at few places. In some of these instances, the call is made with another spinlock already held. Change all such calls in usNIC to WARN_ON to make it fool-proof. Signed-off-by: Upinder Malhi uma...@cisco.com ---