Re: [PATCH v2] zd1211rw: replace ZD_ASSERT with lockdep_assert_held()

From: Johannes Berg
Date: Thu Sep 11 2014 - 06:42:36 EST


On Thu, 2014-09-11 at 10:36 +0000, Sharma, Sanjeev wrote:

> > - ZD_ASSERT(!spin_is_locked(&mac->lock));
> > + lockdep_assert_held(&mac->lock);

> >Look closely at this again.
>
> I didn't understand where I put wrong logic ?

Ok, that's fine. But please send a new patch only when you've understood
the logic.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/