From: Kalle Valo Date: Wed, 23 Dec 2009 12:15:47 +0000 (+0100) Subject: mac80211: annotate sleeping driver ops X-Git-Tag: v2.6.34-rc1~233^2~682^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1781ed33a8809c58ad6c3b6d432d656446efa43;p=pandora-kernel.git mac80211: annotate sleeping driver ops 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. Signed-off-by: Kalle Valo Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed