[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D099A41.5090502@lwfinger.net>
Date: Wed, 15 Dec 2010 22:49:05 -0600
From: Larry Finger <Larry.Finger@...inger.net>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: "John W. Linville" <linville@...driver.com>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build failure after merge of the final tree (wireless
tree related)
On 12/15/2010 09:29 PM, Stephen Rothwell wrote:
> Hi John,
>
> After merging the final tree, today's linux-next build (powerpc allyesconfig)
> failed like this:
>
> drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c: In function 'rtl92c_init_sw_vars':
> drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c:76: error: implicit declaration of function 'vmalloc'
> drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c:76: warning: cast to pointer from integer of different size
> drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c: In function 'rtl92c_deinit_sw_vars':
> drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c:91: error: implicit declaration of function 'vfree'
>
> Caused by commit 0c8173385e549f95cd80c3fff5aab87b4f881d8d ("rtl8192ce:
> Add new driver"). Rule 1 from Documentation/SubmitChecklist.
>
> I have reverted that commit for today.
Sorry for the omission. This error arises because my only platforms get the
header included implicitly.
This patch will fix the problem - I will formally submit it through John Linville.
Larry
---
Index: wireless-testing/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c
+++ wireless-testing/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192c-sw.c
@@ -27,6 +27,8 @@
*
*****************************************************************************/
+#include <linux/vmalloc.h>
+
#include "../wifi.h"
#include "../core.h"
#include "../pci.h"
View attachment "rtl8192ce_fix_powerpc_build" of type "text/plain" (501 bytes)
Powered by blists - more mailing lists