From: Johannes Berg Date: Thu, 27 Oct 2011 12:45:02 +0000 (+0200) Subject: cfg80211: annotate cfg80211_inform_bss X-Git-Tag: v3.3-rc1~182^2~545^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef100682814c429709f0904b757595e25019cb31;p=pandora-kernel.git cfg80211: annotate cfg80211_inform_bss This function returns a referenced BSS struct (or NULL), annotate with __must_check. It seems that a lot of drivers get this completely wrong and leak all BSS structs as a result. Reported-by: Adam Mikuta Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed