With i386 architecture, building the kernel v2.6.31-rc8-34797-g4910edb fails with the following 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’ make[2]: *** [net/wireless/scan.o] Error 1 On x86_64, the build succeeds. Fix by including the appropriate header. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- Index: wireless-testing/net/wireless/scan.c =================================================================== --- wireless-testing.orig/net/wireless/scan.c +++ wireless-testing/net/wireless/scan.c @@ -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> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html