diff mbox

compat-wireless-2009-09-05: error: implicit declaration of function ?kmemleak_ignore?

Message ID 2d0a357f0909050355r381b12fei33930141cfbd8893@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Sedat Dilek Sept. 5, 2009, 10:55 a.m. UTC
Hi Luis,

todays compat-wireless (2009-09-05) is broken.

Error looks like this:
[...]
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/mac80211/rc80211_minstrel.o
  LD [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/mac80211/mac80211.o
  LD      /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/rfkill/built-in.o
  LD      /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/built-in.o
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/core.o
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/sysfs.o
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/radiotap.o
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/util.o
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/reg.o
  CC [M]  /home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/scan.o
/home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/scan.c:
In function ‘cfg80211_inform_bss’:
/home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/scan.c:503:
error: implicit declaration of function ‘kmemleak_ignore’
make[5]: *** [/home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless/scan.o]
Error 1
make[4]: *** [/home/sd/src/compat-wireless/compat-wireless-2009-09-05/net/wireless]
Error 2
make[3]: *** [_module_/home/sd/src/compat-wireless/compat-wireless-2009-09-05]
Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-rc8-radeonkms-686'

This fixed the issue here:

----- SNIP -----
Kind Regards,
Sedat
--
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
diff mbox

Patch

--- net/wireless/scan.c.orig	2009-09-05 06:57:36.000000000 +0200
+++ net/wireless/scan.c	2009-09-05 12:38:09.644616605 +0200
@@ -15,6 +15,7 @@ 
 #include "core.h"
 #include "nl80211.h"
 #include "wext-compat.h"
+#include <linux/kmemleak.h>

 #define IEEE80211_SCAN_RESULT_EXPIRE	(15 * HZ)
----- SNAP -----