diff mbox

cfg80211: add missing #include <linux/kmemleak.h>

Message ID 200909071634.33669.hs4233@mail.mn-solutions.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Holger Schurig Sept. 7, 2009, 2:34 p.m. UTC
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>

---

Fixes this error:

  CC [M]  net/wireless/scan.o
net/wireless/scan.c: In function 'cfg80211_inform_bss':
net/wireless/scan.c:499: error: implicit declaration of function 'kmemleak_ignore'



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Johannes Berg Sept. 7, 2009, 4:31 p.m. UTC | #1
On Mon, 2009-09-07 at 16:34 +0200, Holger Schurig wrote:
> Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>

> +#include <linux/kmemleak.h>

As we've been saying, the change that added the kmemleak annotation
needs to be reverted instead.

johannes
diff mbox

Patch

Index: linux-wl/net/wireless/scan.c
===================================================================
--- linux-wl.orig/net/wireless/scan.c   2009-09-07 15:25:01.000000000 +0200
+++ linux-wl/net/wireless/scan.c        2009-09-07 15:25:09.000000000 +0200
@@ -9,6 +9,7 @@ 
 #include <linux/wireless.h>
 #include <linux/nl80211.h>
 #include <linux/etherdevice.h>
+#include <linux/kmemleak.h>
 #include <net/arp.h>
 #include <net/cfg80211.h>
 #include <net/iw_handler.h>