[PATCH 0/11] fix 25 section mismatch warnings..



The following set of patches fixes 25 Section mismatch warnings
in following directories:

kernel/
mm/
drivers/pci
arch/x86/

When build individually they are now clean.

The shortlog:

Sam Ravnborg (11):
pci: fix section mismatch warnings referring to pci_do_scan_bus
pci: fix 4x section mismatch warnings
cpu: fix section mismatch warnings for enable_nonboot_cpus
cpu: fix section mismatch related to cpu_chain
cpu: do not annotate exported register_cpu_notifier()
cpu: silence section mismatch warnings for hotcpu notifies
mm: fix section mismatch warning in sparse.c
x86: fix section mismatch warning in acpi/boot.c
x86: silence section mismatch warning in smpboot_64.c
x86: fix section mismatch warning in kernel/pci-calgary
x86: fix section mismatch warnings when referencing notifiers

With these patches applied I have a clean build of arch/x86/
with an allyesconfig.

I expect Greg to pick up the pci patches - but as they conflict with
patches recently posted by Adrian a qualified selection should be made.

The cpu patches are cc:ed to Gautham R Shenoy but I think they
need to go in via Andrew.
The mm patch are cc:ed the Mel, Christoph and Andy but I think this one
should also go in via Andrew.

The x86 patches are cc:ed to the x86 gang and should all go in via the x86 tree.

I would like some extra review of the following patches:
-> The pci patches
-> x86: silence section mismatch warning in smpboot_64.c

The others are more strightforward but please eye ball them too.

For my allyesconfig build I still has 116 warnings - but this is without
Adrian's patches applied.
Of these 8 happens only when running the final check on vmlinux.o which
is due to references between the sub directories (kernel/ <-> arch/x86/kernel/)

Patches follows unnumbered as they are independent of each other.

Sam

--
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/



Relevant Pages

  • Re: Value of __*{init,exit} anotations?
    ... I don't deny we can invest large amounts of work to fix our current ... and would like to drive the annotations even further. ... 99 Section mismatch warnings from drivers/ ... Will post my patches during the weekend if things goes well. ...
    (Linux-Kernel)
  • [PATCH 0/5] isdn: fix section mismatch warnings in isdn
    ... drivers/isdn resulted in 34 section mismatch warnings - so ... This resulted in 5 simple patches. ... I know Jeff Garzik has some ISDN clean-up patches pending ... This for no other reason than to get the noise level down. ...
    (Linux-Kernel)
  • Re: 2.6.25-git-current several Section mismatch in reference from ...
    ... section mismatch warnings are dealt with. ... The patches ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [ANNOUNCE] Stacked GIT 0.13
    ... operations are performed using GIT commands and the patches are stored ... Safety checks for the 'rebase' command ... already modified by the current patch ... Fix bash completion to not garble the screen with an error message. ...
    (Linux-Kernel)
  • 2.6.21-mm2
    ... A handful of IDE patches were dropped due to compilation failures. ... See the `hot-fixes' directory for any important updates to this patchset. ... If you hit a bug in -mm and it is not obvious which patch caused it, ... sunrpc fix ...
    (Linux-Kernel)