2.6.21-rc2-mm2: drivers/net/wireless/libertas/debugfs.c addr bogosity

Adrian Bunk
2007-03-07T22:42:51Z

On Tue, Mar 06, 2007 at 12:44:08AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc2-mm1:
>...
> git-netdev-all.patch
>...
> git trees
>...

drivers/net/wireless/libertas/debugfs.c contains:
#define item_addr(n) ((u32) &((wlan_adapter *)0)->n)

This is wrong on 64bit architectures.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed