On Wed, 2012-10-24 at 11:59 +0300, Kalle Valo wrote: > Is there a way to check that drivers don't accidentally clear the flags > (ie. use '=' instead '|=')? For example by adding a dummy flag and > checking afterwards that it's not cleared? > > I'm just worried that this detail might be too easy to miss, for example > somehow I had missed this patch and noticed only when rebasing ath6kl > patches. Yes, that should be possible, set some dummy flag in wiphy_new() and test & clear it in wiphy_register()? johannes -- 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