[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140910092819.7b0b0ae7@canb.auug.org.au>
Date: Wed, 10 Sep 2014 09:28:19 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Miller <davem@...emloft.net>, <netdev@...r.kernel.org>
Cc: "John W. Linville" <linville@...driver.com>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Jade Bilkey <herself@...fumon.com>,
Guenter Roeck <linux@...ck-us.net>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Mark Brown <broonie@...nel.org>
Subject: Re: linux-next: build failure after merge of the wireless-next tree
Hi Dave,
On Mon, 8 Sep 2014 18:42:53 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Hi John,
>
> After merging the wireless-next tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> drivers/net/wireless/ath/ath5k/debug.c: In function 'open_file_eeprom':
> drivers/net/wireless/ath/ath5k/debug.c:933:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
> buf = vmalloc(eesize);
> ^
> drivers/net/wireless/ath/ath5k/debug.c:933:6: warning: assignment makes pointer from integer without a cast
> buf = vmalloc(eesize);
> ^
> drivers/net/wireless/ath/ath5k/debug.c:960:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
> vfree(buf);
> ^
>
> Caused by commit db906eb2101b ("ath5k: added debugfs file for dumping
> eeprom"). Also reported by Guenter Roeck.
>
> I have used Geert Uytterhoeven's suggested fix of including vmalloc.h
> and so added this patch for today:
>
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Mon, 8 Sep 2014 18:39:23 +1000
> Subject: [PATCH] ath5k: fix debugfs addition
>
> Reported-by: Guenter Roeck <linux@...ck-us.net>
> Suggested-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> ---
> drivers/net/wireless/ath/ath5k/debug.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/ath/ath5k/debug.c b/drivers/net/wireless/ath/ath5k/debug.c
> index 30e4e1fd4b04..399728618fb9 100644
> --- a/drivers/net/wireless/ath/ath5k/debug.c
> +++ b/drivers/net/wireless/ath/ath5k/debug.c
> @@ -62,6 +62,7 @@
>
> #include <linux/export.h>
> #include <linux/moduleparam.h>
> +#include <linux/vmalloc.h>
>
> #include <linux/seq_file.h>
> #include <linux/list.h>
> --
> 2.1.0
This fix patch is now needed in the net-next tree ...
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists