Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] Fix wireless build

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


benh at kernel

Jan 10, 2006, 7:17 PM

Post #1 of 2 (758 views)
Permalink
[PATCH] Fix wireless build

Current wireless core doesn't link here with a link error on
compare_ether_addr. The function exists, but is defined inline and the
wireless code forgets to #include the file containing the definition.

Signed-off-by: Benjamin Herrenschmidt <benh [at] kernel>

Index: linux-work/net/core/wireless.c
===================================================================
--- linux-work.orig/net/core/wireless.c 2006-01-11 12:56:30.000000000 +1100
+++ linux-work/net/core/wireless.c 2006-01-11 14:14:27.000000000 +1100
@@ -78,7 +78,7 @@
#include <linux/seq_file.h>
#include <linux/init.h> /* for __init */
#include <linux/if_arp.h> /* ARPHRD_ETHER */
-
+#include <linux/etherdevice.h>
#include <linux/wireless.h> /* Pretty obvious */
#include <net/iw_handler.h> /* New driver API */



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


davem at davemloft

Jan 10, 2006, 9:03 PM

Post #2 of 2 (697 views)
Permalink
Re: [PATCH] Fix wireless build [In reply to]

From: Benjamin Herrenschmidt <benh [at] kernel>
Date: Wed, 11 Jan 2006 14:17:32 +1100

> Current wireless core doesn't link here with a link error on
> compare_ether_addr. The function exists, but is defined inline and the
> wireless code forgets to #include the file containing the definition.
>
> Signed-off-by: Benjamin Herrenschmidt <benh [at] kernel>

Sorry about that. Linus fixed it in his tree already, thanks
for the report.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.