[2.6.26-git1] section mismatches and compilation warnings

From: Rufus & Azrael
Date: Tue Jul 15 2008 - 15:07:12 EST


Hi all,

Here are my section mismatches and compilation warnings when building 2.6.26-git1 kernel.

Hoping it could help you.

Thanks. make CONFIG_DEBUG_SECTION_MISMATCH=y >> /home/eric/Documents/kernelbuild

WARNING: arch/x86/kernel/built-in.o(.text+0x998f): Section mismatch in reference from the function native_calibrate_tsc() to the function .init.text:tsc_read_refs()
The function native_calibrate_tsc() references
the function __init tsc_read_refs().
This is often because native_calibrate_tsc lacks a __init
annotation or the annotation of tsc_read_refs is wrong.

WARNING: arch/x86/kernel/built-in.o(.text+0x99e0): Section mismatch in reference from the function native_calibrate_tsc() to the function .init.text:tsc_read_refs()
The function native_calibrate_tsc() references
the function __init tsc_read_refs().
This is often because native_calibrate_tsc lacks a __init
annotation or the annotation of tsc_read_refs is wrong.

WARNING: arch/x86/kernel/built-in.o(.text+0x16461): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_bus_info()
The function construct_ioapic_table() references
the function __init MP_bus_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_bus_info is wrong.

WARNING: arch/x86/kernel/built-in.o(.text+0x1648f): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_ioapic_info()
The function construct_ioapic_table() references
the function __init MP_ioapic_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_ioapic_info is wrong.

WARNING: arch/x86/kernel/built-in.o(.text+0x16497): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:construct_default_ioirq_mptable()
The function construct_ioapic_table() references
the function __init construct_default_ioirq_mptable().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of construct_default_ioirq_mptable is wrong.

WARNING: arch/x86/kernel/built-in.o(.text+0x16512): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_bus_info()
The function construct_ioapic_table() references
the function __init MP_bus_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_bus_info is wrong.

WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x22f3): Section mismatch in reference from the function init_amd() to the function .init.text:check_enable_amd_mmconf_dmi()
The function __cpuinit init_amd() references
a function __init check_enable_amd_mmconf_dmi().
If check_enable_amd_mmconf_dmi is only used by init_amd then
annotate check_enable_amd_mmconf_dmi with a matching annotation.

WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x469c): Section mismatch in reference from the function uv_cpu_init() to the function .init.text:uv_system_init()
The function __cpuinit uv_cpu_init() references
a function __init uv_system_init().
If uv_system_init is only used by uv_cpu_init then
annotate uv_system_init with a matching annotation.

WARNING: arch/x86/kernel/built-in.o(.data+0x608): Section mismatch in reference from the variable x86_cpu_to_apicid_early_ptr to the variable .init.data:x86_cpu_to_apicid_early_map
The variable x86_cpu_to_apicid_early_ptr references
the variable __initdata x86_cpu_to_apicid_early_map
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: arch/x86/kernel/built-in.o(.data+0x610): Section mismatch in reference from the variable x86_bios_cpu_apicid_early_ptr to the variable .init.data:x86_bios_cpu_apicid_early_map
The variable x86_bios_cpu_apicid_early_ptr references
the variable __initdata x86_bios_cpu_apicid_early_map
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: arch/x86/kernel/built-in.o(.data+0x618): Section mismatch in reference from the variable x86_cpu_to_node_map_early_ptr to the variable .init.data:x86_cpu_to_node_map_early_map
The variable x86_cpu_to_node_map_early_ptr references
the variable __initdata x86_cpu_to_node_map_early_map
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: arch/x86/mm/built-in.o(.text+0x500): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage()
The function set_pte_vaddr_pud() references
the function __init spp_getpage().
This is often because set_pte_vaddr_pud lacks a __init
annotation or the annotation of spp_getpage is wrong.

WARNING: arch/x86/mm/built-in.o(.text+0x551): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage()
The function set_pte_vaddr_pud() references
the function __init spp_getpage().
This is often because set_pte_vaddr_pud lacks a __init
annotation or the annotation of spp_getpage is wrong.

WARNING: arch/x86/mm/built-in.o(.meminit.text+0x2ea): Section mismatch in reference from the function alloc_low_page() to the function .init.text:early_ioremap()
The function __meminit alloc_low_page() references
a function __init early_ioremap().
If early_ioremap is only used by alloc_low_page then
annotate early_ioremap with a matching annotation.

WARNING: arch/x86/mm/built-in.o(.meminit.text+0x5ef): Section mismatch in reference from the function phys_pmd_init() to the function .init.text:early_iounmap()
The function __meminit phys_pmd_init() references
a function __init early_iounmap().
If early_iounmap is only used by phys_pmd_init then
annotate early_iounmap with a matching annotation.

WARNING: arch/x86/mm/built-in.o(.meminit.text+0x846): Section mismatch in reference from the function phys_pud_init() to the function .init.text:early_iounmap()
The function __meminit phys_pud_init() references
a function __init early_iounmap().
If early_iounmap is only used by phys_pud_init then
annotate early_iounmap with a matching annotation.

WARNING: arch/x86/vdso/built-in.o(.text+0x93): Section mismatch in reference from the function arch_setup_additional_pages() to the variable .init.data:vdso_start
The function arch_setup_additional_pages() references
the variable __initdata vdso_start.
This is often because arch_setup_additional_pages lacks a __initdata
annotation or the annotation of vdso_start is wrong.

WARNING: arch/x86/vdso/built-in.o(.text+0x9a): Section mismatch in reference from the function arch_setup_additional_pages() to the variable .init.data:vdso_end
The function arch_setup_additional_pages() references
the variable __initdata vdso_end.
This is often because arch_setup_additional_pages lacks a __initdata
annotation or the annotation of vdso_end is wrong.

mm/mmap.c: In function â??insert_vm_structâ??:
mm/mmap.c:2085: attention : â??rb_parentâ?? may be used uninitialized in this function
mm/mmap.c:2085: attention : â??rb_linkâ?? may be used uninitialized in this function
mm/mmap.c:2084: attention : â??prevâ?? may be used uninitialized in this function
mm/mmap.c: In function â??copy_vmaâ??:
mm/mmap.c:2124: attention : â??rb_parentâ?? may be used uninitialized in this function
mm/mmap.c:2124: attention : â??rb_linkâ?? may be used uninitialized in this function
mm/mmap.c:2123: attention : â??prevâ?? may be used uninitialized in this function
mm/mmap.c: In function â??do_brkâ??:
mm/mmap.c:1951: attention : â??rb_parentâ?? may be used uninitialized in this function
mm/mmap.c:1951: attention : â??rb_linkâ?? may be used uninitialized in this function
mm/mmap.c:1949: attention : â??prevâ?? may be used uninitialized in this function
mm/mmap.c: In function â??mmap_regionâ??:
mm/mmap.c:1092: attention : â??rb_parentâ?? may be used uninitialized in this function
mm/mmap.c:1092: attention : â??rb_linkâ?? may be used uninitialized in this function
mm/mmap.c:1089: attention : â??prevâ?? may be used uninitialized in this function

fs/partitions/check.c: In function â??add_partitionâ??:
fs/partitions/check.c:381: attention : ignoring return value of â??device_addâ??, declared with attribute warn_unused_result

block/genhd.c: In function â??add_diskâ??:
block/genhd.c:196: attention : ignoring return value of â??sysfs_create_linkâ??, declared with attribute warn_unused_result

drivers/firmware/memmap.c: In function â??memmap_initâ??:
drivers/firmware/memmap.c:199: attention : ignoring return value of â??kobject_addâ??, declared with attribute warn_unused_result

drivers/net/skfp/pmf.c:86: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:87: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:88: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:89: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:90: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:91: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:92: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:96: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:97: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:98: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:99: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:100: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:101: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:102: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:103: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:104: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:105: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:106: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:107: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:108: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:112: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:113: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:114: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:115: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:116: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:120: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:121: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:123: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:124: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:132: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:133: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:135: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:136: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:137: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:138: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:139: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:140: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:148: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:149: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:150: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:154: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:155: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:156: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:157: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:158: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:159: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:160: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:161: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:162: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:163: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:167: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:171: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:172: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:173: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:174: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:175: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:176: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:177: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:178: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:179: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:180: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:181: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:186: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:187: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:188: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:189: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:190: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:191: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:192: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:193: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:194: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:198: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:199: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:203: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:204: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:208: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:209: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:210: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:211: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:212: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:213: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:214: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:215: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:222: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:229: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:230: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:231: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:234: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:235: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:236: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:237: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:238: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:243: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:244: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:245: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:246: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:247: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:248: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:249: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:250: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:251: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:252: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:253: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:257: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:258: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:259: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:263: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:264: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:268: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:269: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:270: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:271: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:272: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:276: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:277: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:278: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:279: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/pmf.c:280: attention : transtypage d'un pointeur vers un entier de taille différente

drivers/net/skfp/ess.c: In function â??ess_send_responseâ??:
drivers/net/skfp/ess.c:513: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/ess.c: In function â??ess_send_alc_reqâ??:
drivers/net/skfp/ess.c:609: attention : transtypage d'un pointeur vers un entier de taille différente
drivers/net/skfp/ess.c:639: attention : transtypage d'un pointeur vers un entier de taille différente

drivers/video/aty/radeon_base.c: In function â??radeonfb_pci_registerâ??:
drivers/video/aty/radeon_base.c:2343: attention : ignoring return value of â??sysfs_create_bin_fileâ??, declared with attribute warn_unused_result
drivers/video/aty/radeon_base.c:2345: attention : ignoring return value of â??sysfs_create_bin_fileâ??, declared with attribute warn_unused_result

sound/core/pcm_native.c: In function â??snd_pcm_fasyncâ??:
sound/core/pcm_native.c:3262: attention : label â??outâ?? defined but not used

WARNING: vmlinux.o(.text+0x9d8f): Section mismatch in reference from the function native_calibrate_tsc() to the function .init.text:tsc_read_refs()
The function native_calibrate_tsc() references
the function __init tsc_read_refs().
This is often because native_calibrate_tsc lacks a __init
annotation or the annotation of tsc_read_refs is wrong.

WARNING: vmlinux.o(.text+0x9de0): Section mismatch in reference from the function native_calibrate_tsc() to the function .init.text:tsc_read_refs()
The function native_calibrate_tsc() references
the function __init tsc_read_refs().
This is often because native_calibrate_tsc lacks a __init
annotation or the annotation of tsc_read_refs is wrong.

WARNING: vmlinux.o(.text+0x16861): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_bus_info()
The function construct_ioapic_table() references
the function __init MP_bus_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_bus_info is wrong.

WARNING: vmlinux.o(.text+0x1688f): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_ioapic_info()
The function construct_ioapic_table() references
the function __init MP_ioapic_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_ioapic_info is wrong.

WARNING: vmlinux.o(.text+0x16897): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:construct_default_ioirq_mptable()
The function construct_ioapic_table() references
the function __init construct_default_ioirq_mptable().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of construct_default_ioirq_mptable is wrong.

WARNING: vmlinux.o(.text+0x16912): Section mismatch in reference from the function construct_ioapic_table() to the function .init.text:MP_bus_info()
The function construct_ioapic_table() references
the function __init MP_bus_info().
This is often because construct_ioapic_table lacks a __init
annotation or the annotation of MP_bus_info is wrong.

WARNING: vmlinux.o(.text+0x1ab4a): Section mismatch in reference from the function map_high() to the function .init.text:init_extra_mapping_wb()
The function map_high() references
the function __init init_extra_mapping_wb().
This is often because map_high lacks a __init
annotation or the annotation of init_extra_mapping_wb is wrong.

WARNING: vmlinux.o(.text+0x1ab67): Section mismatch in reference from the function map_high() to the function .init.text:init_extra_mapping_uc()
The function map_high() references
the function __init init_extra_mapping_uc().
This is often because map_high lacks a __init
annotation or the annotation of init_extra_mapping_uc is wrong.

WARNING: vmlinux.o(.text+0x1ca90): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage()
The function set_pte_vaddr_pud() references
the function __init spp_getpage().
This is often because set_pte_vaddr_pud lacks a __init
annotation or the annotation of spp_getpage is wrong.

WARNING: vmlinux.o(.text+0x1cae1): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage()
The function set_pte_vaddr_pud() references
the function __init spp_getpage().
This is often because set_pte_vaddr_pud lacks a __init
annotation or the annotation of spp_getpage is wrong.

WARNING: vmlinux.o(.text+0x20b93): Section mismatch in reference from the function arch_setup_additional_pages() to the variable .init.data:vdso_start
The function arch_setup_additional_pages() references
the variable __initdata vdso_start.
This is often because arch_setup_additional_pages lacks a __initdata
annotation or the annotation of vdso_start is wrong.

WARNING: vmlinux.o(.text+0x20b9a): Section mismatch in reference from the function arch_setup_additional_pages() to the variable .init.data:vdso_end
The function arch_setup_additional_pages() references
the variable __initdata vdso_end.
This is often because arch_setup_additional_pages lacks a __initdata
annotation or the annotation of vdso_end is wrong.

WARNING: vmlinux.o(.cpuinit.text+0x2653): Section mismatch in reference from the function init_amd() to the function .init.text:check_enable_amd_mmconf_dmi()
The function __cpuinit init_amd() references
a function __init check_enable_amd_mmconf_dmi().
If check_enable_amd_mmconf_dmi is only used by init_amd then
annotate check_enable_amd_mmconf_dmi with a matching annotation.

WARNING: vmlinux.o(.cpuinit.text+0x3d0a): Section mismatch in reference from the function do_boot_cpu() to the function .init.text:free_bootmem()
The function __cpuinit do_boot_cpu() references
a function __init free_bootmem().
If free_bootmem is only used by do_boot_cpu then
annotate free_bootmem with a matching annotation.

WARNING: vmlinux.o(.cpuinit.text+0x49fc): Section mismatch in reference from the function uv_cpu_init() to the function .init.text:uv_system_init()
The function __cpuinit uv_cpu_init() references
a function __init uv_system_init().
If uv_system_init is only used by uv_cpu_init then
annotate uv_system_init with a matching annotation.

WARNING: vmlinux.o(.meminit.text+0x2ea): Section mismatch in reference from the function alloc_low_page() to the function .init.text:early_ioremap()
The function __meminit alloc_low_page() references
a function __init early_ioremap().
If early_ioremap is only used by alloc_low_page then
annotate early_ioremap with a matching annotation.

WARNING: vmlinux.o(.meminit.text+0x5ef): Section mismatch in reference from the function phys_pmd_init() to the function .init.text:early_iounmap()
The function __meminit phys_pmd_init() references
a function __init early_iounmap().
If early_iounmap is only used by phys_pmd_init then
annotate early_iounmap with a matching annotation.

WARNING: vmlinux.o(.meminit.text+0x846): Section mismatch in reference from the function phys_pud_init() to the function .init.text:early_iounmap()
The function __meminit phys_pud_init() references
a function __init early_iounmap().
If early_iounmap is only used by phys_pud_init then
annotate early_iounmap with a matching annotation.

WARNING: vmlinux.o(.data+0x2fc8): Section mismatch in reference from the variable x86_cpu_to_apicid_early_ptr to the variable .init.data:x86_cpu_to_apicid_early_map
The variable x86_cpu_to_apicid_early_ptr references
the variable __initdata x86_cpu_to_apicid_early_map
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: vmlinux.o(.data+0x2fd0): Section mismatch in reference from the variable x86_bios_cpu_apicid_early_ptr to the variable .init.data:x86_bios_cpu_apicid_early_map
The variable x86_bios_cpu_apicid_early_ptr references
the variable __initdata x86_bios_cpu_apicid_early_map
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: vmlinux.o(.data+0x2fd8): Section mismatch in reference from the variable x86_cpu_to_node_map_early_ptr to the variable .init.data:x86_cpu_to_node_map_early_map
The variable x86_cpu_to_node_map_early_ptr references
the variable __initdata x86_cpu_to_node_map_early_map
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,