Re: modpost: serial/8250_pci warnings

From: Sam Ravnborg
Date: Sat Apr 15 2006 - 17:14:51 EST


On Sat, Apr 15, 2006 at 01:23:43PM -0700, Randy.Dunlap wrote:
>
> drivers/serial/8250_pci.o has 23 section mismatch warnings.
> They are all related to (come from) this struct:
>
> static struct pci_serial_quirk pci_serial_quirks[] = {
>
> so maybe either "quirk" can go into the whitelist, or
> Russell can tell us if these are false positives or need to be
> fixed.
.init is referenced from pciserial_init_ports() which is NOT marked
__devinit.
And pciserial_init_ports() is exported - so it cannot be marked
__devinit => it is a bug.

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