[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110324.161614.232895368.davem@davemloft.net>
Date: Thu, 24 Mar 2011 16:16:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: randy.dunlap@...cle.com
Cc: netdev@...r.kernel.org, toshiharu-linux@....okisemi.com
Subject: Re: [PATCH] net: fix pch_gbe section mismatch warning
From: Randy Dunlap <randy.dunlap@...cle.com>
Date: Thu, 24 Mar 2011 13:28:12 -0700
> Fix section mismatch warning by renaming the pci_driver variable to a
> recognized (whitelisted) name.
>
> WARNING: drivers/net/pch_gbe/pch_gbe.o(.data+0x1f8): Section mismatch in reference from the variable pch_gbe_pcidev to the variable .devinit.rodata:pch_gbe_pcidev_id
> The variable pch_gbe_pcidev references
> the variable __devinitconst pch_gbe_pcidev_id
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Applied, thanks Randy.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists