WARNING: drivers/net/ethernet/dlink/sundance.o(.text+0x2e87): Section mismatch in reference from the function sundance_probe1() to the variable .devinit.rodata:sundance_pci_tbl
From: kbuild test robot <hidden> Date: 2012-12-04 22:24:34
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 193c1e478cc496844fcbef402a10976c95a634ff
commit: 64bc40de134bb5c7826ff384016f654219ed3956 dlink: remove __dev* attributes
date: 27 hours ago
config: make ARCH=x86_64 allmodconfig
All warnings:
WARNING: drivers/net/ethernet/dlink/sundance.o(.text+0x2e87): Section mismatch in reference from the function sundance_probe1() to the variable .devinit.rodata:sundance_pci_tbl
The function sundance_probe1() references
the variable __devinitconst sundance_pci_tbl.
This is often because sundance_probe1 lacks a __devinitconst
annotation or the annotation of sundance_pci_tbl is wrong.
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
I"ll fix it.
Thanks.
On 12/5/12, kbuild test robot [off-list ref] wrote:
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 193c1e478cc496844fcbef402a10976c95a634ff
commit: 64bc40de134bb5c7826ff384016f654219ed3956 dlink: remove __dev*
attributes
date: 27 hours ago
config: make ARCH=x86_64 allmodconfig
All warnings:
WARNING: drivers/net/ethernet/dlink/sundance.o(.text+0x2e87): Section
mismatch in reference from the function sundance_probe1() to the variable
.devinit.rodata:sundance_pci_tbl
The function sundance_probe1() references
the variable __devinitconst sundance_pci_tbl.
This is often because sundance_probe1 lacks a __devinitconst
annotation or the annotation of sundance_pci_tbl is wrong.
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Dec 05, 2012 at 11:12:32AM +0300, Denis Kirjanov wrote:
I"ll fix it.
Thanks.
On 12/5/12, kbuild test robot [off-list ref] wrote:
quoted
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 193c1e478cc496844fcbef402a10976c95a634ff
commit: 64bc40de134bb5c7826ff384016f654219ed3956 dlink: remove __dev*
attributes
date: 27 hours ago
config: make ARCH=x86_64 allmodconfig
All warnings:
WARNING: drivers/net/ethernet/dlink/sundance.o(.text+0x2e87): Section
mismatch in reference from the function sundance_probe1() to the variable
.devinit.rodata:sundance_pci_tbl
The function sundance_probe1() references
the variable __devinitconst sundance_pci_tbl.
This is often because sundance_probe1 lacks a __devinitconst
annotation or the annotation of sundance_pci_tbl is wrong.
No, no need to do this, it's fallout of the big dev* removal that is in
net-next right now, the warnings will go away when merged with my
driver-core-next tree which will happen in 3.8-rc1.
So please don't worry about it, it's a harmless message at the moment.
greg k-h
You can't.
It's only going to get fixed by a change in Greg KH's device tree
which updates the PCI table macros to not use __dev* section tags.
Fengguant, _PLEASE_, as Greg requested, stop reporting these section
mismatch errors, they aren't helpful and are wasting valuable
developer time.
You can't.
It's only going to get fixed by a change in Greg KH's device tree
which updates the PCI table macros to not use __dev* section tags.
Fengguant, _PLEASE_, as Greg requested, stop reporting these section
mismatch errors, they aren't helpful and are wasting valuable
developer time.
Dave, Greg: Sorry for the delay! I've just disabled these section
mismatch warnings against *devinit*.
Thanks,
Fengguang