All of lore.kernel.org
 help / color / mirror / Atom feed
* 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
@ 2012-12-04 20:24 kbuild test robot
  2012-12-04 20:28 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2012-12-04 20:24 UTC (permalink / raw)
  To: Bill Pemberton; +Cc: netdev, Greg Kroah-Hartman

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:

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
The function tg3_get_invariants() references
the variable __devinitconst tg3_write_reorder_chipsets.
This is often because tg3_get_invariants lacks a __devinitconst
annotation or the annotation of tg3_write_reorder_chipsets is wrong.
--
WARNING: drivers/net/ethernet/broadcom/tg3.o(.text+0x231db): Section mismatch in reference from the function tg3_init_one() to the variable .devinit.rodata:tg3_dma_wait_state_chipsets
The function tg3_init_one() references
the variable __devinitconst tg3_dma_wait_state_chipsets.
This is often because tg3_init_one lacks a __devinitconst
annotation or the annotation of tg3_dma_wait_state_chipsets is wrong.

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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
  2012-12-04 20:24 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 kbuild test robot
@ 2012-12-04 20:28 ` David Miller
  2012-12-04 20:30   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2012-12-04 20:28 UTC (permalink / raw)
  To: fengguang.wu; +Cc: wfp5p, netdev, gregkh

From: kbuild test robot <fengguang.wu@intel.com>
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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
  2012-12-04 20:28 ` David Miller
@ 2012-12-04 20:30   ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2012-12-04 20:30 UTC (permalink / raw)
  To: David Miller; +Cc: fengguang.wu, wfp5p, netdev

On Tue, Dec 04, 2012 at 03:28:25PM -0500, David Miller wrote:
> From: kbuild test robot <fengguang.wu@intel.com>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-04 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-04 20:24 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 kbuild test robot
2012-12-04 20:28 ` David Miller
2012-12-04 20:30   ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.