Search Linux Wireless

Re: Strange build error with new driver on 2.6.39-rc3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/15/2011 05:04 PM, Larry Finger wrote:
When building a new driver on kernel 2.6.39-rc3 when using a 32-bit system, I
get the following error:

MODPOST 511 modules
FATAL: drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se: sizeof(struct
usb_device_id)=20 is not a modulo of the size of section
__mod_usb_device_table=168.
Fix definition of struct usb_device_id in mod_devicetable.h

This error is strange in that this device is PCI based and contains no mention
of usb_device_id. There is a USB-based driver in the rtlwifi tree, but there is
also another PCI driver and it does not get this error.

I found the problem. It was a faulty MODULE_DEVICE_TABLE macro statement.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux