From patchwork Sun Sep 6 17:58:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 45984 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n86HwVOX012820 for ; Sun, 6 Sep 2009 17:58:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758079AbZIFR6Z (ORCPT ); Sun, 6 Sep 2009 13:58:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758070AbZIFR6Z (ORCPT ); Sun, 6 Sep 2009 13:58:25 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:47146 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758069AbZIFR6Z (ORCPT ); Sun, 6 Sep 2009 13:58:25 -0400 Received: from larrylap.site ([69.76.241.120]) by hrndva-omta01.mail.rr.com with SMTP id <20090906175825328.EFAI15397@hrndva-omta01.mail.rr.com>; Sun, 6 Sep 2009 17:58:25 +0000 Date: Sun, 06 Sep 2009 12:58:16 -0500 From: Larry Finger To: John W Linville , Johannes Berg Cc: linux-wireless@vger.kernel.org Subject: [PATCH] cfg80211: Fix build error on i386 for net/wireless/scan.o Message-ID: <4aa3f838.ef04Hi2n3Fg54rE9%Larry.Finger@lwfinger.net> User-Agent: Heirloom mailx 12.2 01/07/07 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 --- -- 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 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 #include #include +#include #include #include #include