Subject: Re: WARNING: drivers/net/ethernet/broadcom/tg3.o(.text+0x16006): Section mismatch in reference from the function tg3_get_invariants() to the variable .devinit.rodata:tg3_write_reorder_chipsets

From: Greg KH <[email-masked]>
Date: Tue, 4 Dec 2012 12:30:25 -0800

On Tue, Dec 04, 2012 at 03:28:25PM -0500, David Miller wrote:
> From: kbuild test robot <[email-masked]>
> Date: Wed, 05 Dec 2012 04:24:21 +0800
> 
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> > head:   193c1e478cc496844fcbef402a10976c95a634ff
> > commit: 229b1ad1cb1a7159658f466c736bc3898dabb876 tg3: remove __dev* attributes
> > date:   25 hours ago
> > config: make ARCH=x86_64 allmodconfig
> > 
> > All warnings:
> 
> This is a result of the __dev* macro removal from the networking
> drivers.  I think it will be resolved when Greg KH's tree gets merged.
> 
> The issue is that the PCI device ID macros in linux/pci.h still
> use the __dev* tags.
> 
> Greg, please confirm.

Yes, that is correct.  Fengguang, you can stop reporting these kinds of
warnings, you are going to get a bunch of them from now until 3.8-rc1 is
out.

thanks,

greg k-h