2009-09-07 14:34:57

by Holger Schurig

[permalink] [raw]
Subject: [PATCH] cfg80211: add missing #include <linux/kmemleak.h>

Signed-off-by: Holger Schurig <[email protected]>

---

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'

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>




2009-09-07 16:31:01

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] cfg80211: add missing #include <linux/kmemleak.h>

On Mon, 2009-09-07 at 16:34 +0200, Holger Schurig wrote:
> Signed-off-by: Holger Schurig <[email protected]>

> +#include <linux/kmemleak.h>

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

johannes


Attachments:
signature.asc (801.00 B)
This is a digitally signed message part