2007-05-15 22:28:53

by Andrew Morton

[permalink] [raw]
Subject: wireless warnings

drivers/net/wireless/mac80211/adm8211/adm8211.c: In function 'adm8211_interrupt_rci':
drivers/net/wireless/mac80211/adm8211/adm8211.c:501: warning: passing argument 2 of '__memcpy' makes pointer from integer without a cast
drivers/net/wireless/mac80211/adm8211/adm8211.c:501: warning: passing argument 2 of '__builtin_memcpy' makes pointer from integer without a cast
drivers/net/wireless/mac80211/adm8211/adm8211.c:523: warning: passing argument 2 of 'pci_map_single' makes pointer from integer without a cast
drivers/net/wireless/mac80211/adm8211/adm8211.c: In function 'adm8211_init_rings':
drivers/net/wireless/mac80211/adm8211/adm8211.c:1542: warning: passing argument 2 of 'pci_map_single' makes pointer from integer without a cast
drivers/net/wireless/mac80211/bcm43xx/bcm43xx_main.c: In function 'bcm43xx_chip_reset':
drivers/net/wireless/mac80211/bcm43xx/bcm43xx_main.c:3473: warning: 'err' may be used uninitialized in this function
drivers/net/wireless/mac80211/p54/prism54usb.c: In function 'p54u_rx_cb':
drivers/net/wireless/mac80211/p54/prism54usb.c:103: warning: assignment makes pointer from integer without a cast
drivers/net/wireless/mac80211/p54/prism54usb.c: In function 'p54u_init_urbs':
drivers/net/wireless/mac80211/p54/prism54usb.c:141: warning: passing argument 4 of 'usb_fill_bulk_urb' makes pointer from integer without a cast
drivers/net/wireless/mac80211/p54/prism54pci.c: In function 'p54p_refill_rx_ring':
drivers/net/wireless/mac80211/p54/prism54pci.c:261: warning: passing argument 2 of 'pci_map_single' makes pointer from integer without a cast


Some of these are pointing at serious bustage. The kind which goes oops.


2007-05-16 06:16:51

by Michael Wu

[permalink] [raw]
Subject: Re: wireless warnings

On Tuesday 15 May 2007 18:28, Andrew Morton wrote:
> Some of these are pointing at serious bustage. The kind which goes oops.
The adm8211 and p54 warnings are from the recent sk_buff_data_t changes that
make skb->tail an offset on 64 bit.

Attached patches fix adm8211 and p54. John, please apply.

Thanks,
-Michael Wu


Attachments:
(No filename) (0.00 B)
(No filename) (189.00 B)
Download all attachments