RE: [PATCH 0/1] omap: fix section mismatch errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Premi, Sanjeev 
> Sent: Monday, August 16, 2010 9:01 PM
> To: linux-omap@xxxxxxxxxxxxxxx
> Cc: Premi, Sanjeev
> Subject: [PATCH 0/1] omap: fix section mismatch errors
> 
> Multiple section mismatches are observed with the latest
> master. While attempting to fix the ones listed below, I
> came across more instances.
> 
> The patch in this series fixes all these issues.
> 
> Though most of the changes are straight-forward, but for
> these (for now annotated as ___refdata):
> 
> 1) arch/arm/plat-omap/cpu-omap.c
>    Variable omap_driver may be required beyond __init
>    lifetime.
>  
> 2) drivers/mfd/twl-core.c
>    Variable twl_driver is used both in __init and __exit
>    context.
> 
> There are few more similar errors in some of the modules
> would submit them separately.
> 
> 
> WARNING: vmlinux.o(.text+0x187c0): Section mismatch in 
> reference from the function zoom_twl_gpio_setup() to the 
> (unknown reference) .init.data:(unknown)
> The function zoom_twl_gpio_setup() references
> the (unknown reference) __initdata (unknown).
> This is often because zoom_twl_gpio_setup lacks a __initdata
> annotation or the annotation of (unknown) is wrong.
> 
> WARNING: vmlinux.o(.text+0x189b0): Section mismatch in 
> reference from the function cm_t35_twl_gpio_setup() to the 
> (unknown reference) .init.data:(unknown)
> The function cm_t35_twl_gpio_setup() references
> the (unknown reference) __initdata (unknown).
> This is often because cm_t35_twl_gpio_setup lacks a __initdata
> annotation or the annotation of (unknown) is wrong.
> 
> WARNING: vmlinux.o(.data+0x19e38): Section mismatch in 
> reference from the variable h4_config to the (unknown 
> reference) .init.data:(unknown)
> The variable h4_config references
> the (unknown reference) __initdata (unknown)
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name 
> the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: vmlinux.o(.data+0x1a670): Section mismatch in 
> reference from the variable sdp2430_config to the (unknown 
> reference) .init.data:(unknown)
> The variable sdp2430_config references
> the (unknown reference) __initdata (unknown)
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name 
> the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: vmlinux.o(.data+0x1ac50): Section mismatch in 
> reference from the variable apollon_config to the (unknown 
> reference) .init.data:(unknown)
> The variable apollon_config references
> the (unknown reference) __initdata (unknown)
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name 
> the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: vmlinux.o(.data+0x2e378): Section mismatch in 
> reference from the variable omap_driver to the function 
> .init.text:omap_cpu_init()
> The variable omap_driver references
> the function __init omap_cpu_init()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name 
> the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: vmlinux.o(.data+0x1b9dcc): Section mismatch in 
> reference from the variable twl_driver to the function 
> .init.text:twl_probe()
> The variable twl_driver references
> the function __init twl_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name 
> the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> Sanjeev Premi (1):
>   omap: fix section mismatch errors
> 
>  arch/arm/mach-omap2/board-2430sdp.c          |    2 +-
>  arch/arm/mach-omap2/board-apollon.c          |    2 +-
>  arch/arm/mach-omap2/board-cm-t35.c           |    8 ++++----
>  arch/arm/mach-omap2/board-h4.c               |    2 +-
>  arch/arm/mach-omap2/board-zoom-peripherals.c |   18 
> +++++++++---------
>  arch/arm/plat-omap/cpu-omap.c                |    2 +-
>  drivers/mfd/twl-core.c                       |    2 +-
>  7 files changed, 18 insertions(+), 18 deletions(-)
> 
> 
Hi Tony,

Did you look at this as well?

Best regards,
Sanjeev
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux