cfg80211: add missing #include <linux/kmemleak.h>
PATCH 1/1 cfg80211: add missing #include <linux/kmemleak.h>
Signed-off-by Holger Schurig <[email protected]>
---
Fixes this error:
CC [M] net/wireless/scan.onet/wireless/scan.c: In function 'cfg80211_inform_bss':net/wireless/scan.c:499: error: implicit declaration of function 'kmemleak_ignore'
net/wireless/scan.c 2009-09-07 15:25:09.000000000 +0200 renamed from net/wireless/scan.c 2009-09-07 15:25:01.000000000 +0200 +1 -0
@@ -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>
Johannes Berg
maintainerQuoted 3 lines · Holger Schurig
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