Bug 16530 - Section mismatch in reference from the function pcibios_scan_specific_bus()
Summary: Section mismatch in reference from the function pcibios_scan_specific_bus()
Status: CLOSED OBSOLETE
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 low
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 14:48 UTC by Sebastian Kemper
Modified: 2012-05-12 16:17 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.35
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Output of make CONFIG_DEBUG_SECTION_MISMATCH=y (60.21 KB, text/plain)
2010-08-06 14:48 UTC, Sebastian Kemper
Details

Description Sebastian Kemper 2010-08-06 14:48:50 UTC
Created attachment 27366 [details]
Output of make CONFIG_DEBUG_SECTION_MISMATCH=y

Hello all,

I saw this while compiling 2.6.35:

...
  AR      arch/x86/lib/lib.a
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x2b769c): Section mismatch in reference from the function pcibios_scan_specific_bus() to the function .devinit.text:pci_scan_bus_on_node()
The function pcibios_scan_specific_bus() references
the function __devinit pci_scan_bus_on_node().
This is often because pcibios_scan_specific_bus lacks a __devinit
annotation or the annotation of pci_scan_bus_on_node is wrong.
...
  LD      arch/x86/pci/built-in.o
WARNING: arch/x86/pci/built-in.o(.text+0xdec): Section mismatch in reference from the function pcibios_scan_specific_bus() to the function .devinit.text:pci_scan_bus_on_node()
The function pcibios_scan_specific_bus() references
the function __devinit pci_scan_bus_on_node().
This is often because pcibios_scan_specific_bus lacks a __devinit
annotation or the annotation of pci_scan_bus_on_node is wrong.
...

Had no idea whether to report this, hence I did :) Please resolve if unnecessary.

Kind regards
Sebastian

Note You need to log in before you can comment on or make changes to this bug.