Kalle Valo <kalle.valo@xxxxxx> writes: > To make it easier to notice cases of calling sleeping ops in atomic context, > annotate driver-ops.h with appropiate might_sleep() calls. At the same time, > also document in mac80211.h the op functions with missing contexts. > > mac80211 doesn't seem to use get_tx_stats anywhere currently. Just to be on > the safe side, I documented it to be atomic, but hopefully the op can be > removed in the future. > > Compile-tested only. FWIW, I tested the patch with wl1251 and iwl3945 and no warnings visible. -- Kalle Valo -- 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