login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
25
Re: [PATCH] net: b43legacy: fix compile error
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Larry Finger
Subject:
Re: [PATCH] net: b43legacy: fix compile error
Date: Monday, October 25, 2010 - 11:59 am
On 10/25/2010 01:44 PM, Arnd Hannemann wrote:
quoted text
> Am 25.10.2010 20:36, schrieb Larry Finger: >> On 10/25/2010 01:26 PM, Arnd Hannemann wrote: >>> Am 25.10.2010 17:32, schrieb Larry Finger: >>>> On 10/25/2010 09:41 AM, Arnd Hannemann wrote: >>>>> On todays linus tree the following compile error happened to me: >>>>> >>>>> CC [M] drivers/net/wireless/b43legacy/xmit.o >>>>> In file included from include/net/dst.h:11, >>>>> from drivers/net/wireless/b43legacy/xmit.c:31: >>>>> include/net/dst_ops.h:28: error: expected ':', ',', ';', '}' or '__attribute__' before '____cacheline_aligned_in_smp' >>>>> include/net/dst_ops.h: In function 'dst_entries_get_fast': >>>>> include/net/dst_ops.h:33: error: 'struct dst_ops' has no member named 'pcpuc_entries' >>>>> include/net/dst_ops.h: In function 'dst_entries_get_slow': >>>>> include/net/dst_ops.h:41: error: 'struct dst_ops' has no member named 'pcpuc_entries' >>>>> include/net/dst_ops.h: In function 'dst_entries_add': >>>>> include/net/dst_ops.h:49: error: 'struct dst_ops' has no member named 'pcpuc_entries' >>>>> include/net/dst_ops.h: In function 'dst_entries_init': >>>>> include/net/dst_ops.h:55: error: 'struct dst_ops' has no member named 'pcpuc_entries' >>>>> include/net/dst_ops.h: In function 'dst_entries_destroy': >>>>> include/net/dst_ops.h:60: error: 'struct dst_ops' has no member named 'pcpuc_entries' >>>>> make[4]: *** [drivers/net/wireless/b43legacy/xmit.o] Error 1 >>>>> make[3]: *** [drivers/net/wireless/b43legacy] Error 2 >>>>> make[2]: *** [drivers/net/wireless] Error 2 >>>>> make[1]: *** [drivers/net] Error 2 >>>>> make: *** [drivers] Error 2 >>>>> >>>>> This patch fixes this issue by adding "linux/cache.h" as an include to >>>>> "include/net/dst_ops.h". >>>> >>>> Strange. Compiling b43legacy from the linux-2.6.git tree (git describe is >>>> v2.6.36-4464-g229aebb) works fine on x86_64. I wonder what is different. >>> >>> Exactly the same git describe here. >>> Maybe your arch includes cache.h already, in my case its a compile for ARM (shmobile). >> >> That probably makes the difference. Using Eric's fix that removes the #include >> <linux/dst.h> should be better. Does it work for you? >> >> There are probably a lot more of the system includes that may not be needed. If >> I send you a patch removing them, could you test? > > As it turns out my card is not supported by b43legacy, but compilation testing, > sure I can test that.
If it is a Broadcom card, it is likely handled by b43. Attached is a trial removal of a number of include statements. Does it compile? Larry
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] net: b43legacy: fix compile error
, Arnd Hannemann
, (Mon Oct 25, 7:41 am)
Re: [PATCH] net: b43legacy: fix compile error
, Larry Finger
, (Mon Oct 25, 8:32 am)
Re: [PATCH] net: b43legacy: fix compile error
, Eric Dumazet
, (Mon Oct 25, 8:51 am)
Re: [PATCH] net: b43legacy: fix compile error
, Larry Finger
, (Mon Oct 25, 11:11 am)
Re: [PATCH] net: b43legacy: fix compile error
, Arnd Hannemann
, (Mon Oct 25, 11:26 am)
Re: [PATCH] net: b43legacy: fix compile error
, Larry Finger
, (Mon Oct 25, 11:36 am)
Re: [PATCH] net: b43legacy: fix compile error
, Arnd Hannemann
, (Mon Oct 25, 11:44 am)
Re: [PATCH] net: b43legacy: fix compile error
, Larry Finger
, (Mon Oct 25, 11:59 am)
Re: [PATCH] net: b43legacy: fix compile error
, Eric Dumazet
, (Mon Oct 25, 12:56 pm)
Re: [PATCH] net: b43legacy: fix compile error
, Arnd Hannemann
, (Mon Oct 25, 1:13 pm)
Re: [PATCH] net: b43legacy: fix compile error
, John W. Linville
, (Thu Nov 11, 9:35 am)
Re: [PATCH] net: b43legacy: fix compile error
, Larry Finger
, (Thu Nov 11, 10:06 am)
Re: [PATCH] net: b43legacy: fix compile error
, John W. Linville
, (Thu Nov 11, 10:07 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate