Re: linux-2.6.26-rc1 - section mismatches on x86

From: Davide Pesavento
Date: Sun May 04 2008 - 15:41:44 EST


2008/4/11 Sam Ravnborg <sam@xxxxxxxxxxxx>:
> On Fri, Apr 11, 2008 at 08:02:06PM +0200, Davide Pesavento wrote:
> > While compiling linux-2.6.25-rc8-git7 with
> > CONFIG_DEBUG_SECTION_MISMATCH=y, I noticed the following "section
> > mismatch" warnings.
>
> Thanks for your report Davide.
> We have several "Section mismatch warning" fixes queued
> up in -mm and in x86.git so I expect most of the ones below
> to be already fixed.
> Merging is postponed until next merge window.
>
> A similar report at -rc1 time would be good.
>
> Sam
>

Hello again!

I tried 2.6.26-rc1 and only these two warnings are left:

WARNING: vmlinux.o(.text+0x10fe7): Section mismatch in reference from
the function cpu_exit_clear() to the function
.cpuinit.text:cpu_uninit()
The function cpu_exit_clear() references
the function __cpuinit cpu_uninit().
This is often because cpu_exit_clear lacks a __cpuinit
annotation or the annotation of cpu_uninit is wrong.

WARNING: vmlinux.o(.text+0x1e26e4): Section mismatch in reference from
the function pci_scan_bus_on_node() to the function
.devinit.text:pci_scan_bus_parented()
The function pci_scan_bus_on_node() references
the function __devinit pci_scan_bus_parented().
This is often because pci_scan_bus_on_node lacks a __devinit
annotation or the annotation of pci_scan_bus_parented is wrong.
--
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/