On Friday 06 August 2010 16:17:53 Johannes Berg wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > spin_is_locked() can return zero on some (UP?) Yes, this is an UP config. > configurations because locks don't exist, and > that causes an endless amount of warnings. Use > lockdep_assert_held() instead, which has two > advantages: > 1) it verifies the current task is holding > the lock or mutex > 2) it compiles away completely when lockdep > is not enabled > After applying your patch the warnings in the kernel log are gone. Thanks for the quick fix. kind regards thomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html