* [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0()
@ 2012-02-26 16:27 Fabio Estevam
2012-02-27 9:24 ` Sascha Hauer
2012-02-27 9:39 ` Shawn Guo
0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2012-02-26 16:27 UTC (permalink / raw)
To: linux-arm-kernel
Fix the following section mismatch:
WARNING: vmlinux.o(.text+0x11be8): Section mismatch in reference from the function imx3_init_l2x0() to the function .init.text:l2x0_init()
The function imx3_init_l2x0() references
the function __init l2x0_init().
This is often because imx3_init_l2x0 lacks a __init
annotation or the annotation of l2x0_init is wrong.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/mach-imx/mm-imx3.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
index 8404ee7..6222151 100644
--- a/arch/arm/mach-imx/mm-imx3.c
+++ b/arch/arm/mach-imx/mm-imx3.c
@@ -76,7 +76,7 @@ static void __iomem *imx3_ioremap(unsigned long phys_addr, size_t size,
return __arm_ioremap(phys_addr, size, mtype);
}
-void imx3_init_l2x0(void)
+void __init imx3_init_l2x0(void)
{
void __iomem *l2x0_base;
void __iomem *clkctl_base;
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0()
2012-02-26 16:27 [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0() Fabio Estevam
@ 2012-02-27 9:24 ` Sascha Hauer
2012-02-27 9:39 ` Shawn Guo
1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2012-02-27 9:24 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 26, 2012 at 01:27:04PM -0300, Fabio Estevam wrote:
> Fix the following section mismatch:
>
> WARNING: vmlinux.o(.text+0x11be8): Section mismatch in reference from the function imx3_init_l2x0() to the function .init.text:l2x0_init()
> The function imx3_init_l2x0() references
> the function __init l2x0_init().
> This is often because imx3_init_l2x0 lacks a __init
> annotation or the annotation of l2x0_init is wrong.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied
Sascha
> ---
> arch/arm/mach-imx/mm-imx3.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
> index 8404ee7..6222151 100644
> --- a/arch/arm/mach-imx/mm-imx3.c
> +++ b/arch/arm/mach-imx/mm-imx3.c
> @@ -76,7 +76,7 @@ static void __iomem *imx3_ioremap(unsigned long phys_addr, size_t size,
> return __arm_ioremap(phys_addr, size, mtype);
> }
>
> -void imx3_init_l2x0(void)
> +void __init imx3_init_l2x0(void)
> {
> void __iomem *l2x0_base;
> void __iomem *clkctl_base;
> --
> 1.7.1
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0()
2012-02-26 16:27 [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0() Fabio Estevam
2012-02-27 9:24 ` Sascha Hauer
@ 2012-02-27 9:39 ` Shawn Guo
2012-02-27 9:41 ` Shawn Guo
1 sibling, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2012-02-27 9:39 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 26, 2012 at 01:27:04PM -0300, Fabio Estevam wrote:
> Fix the following section mismatch:
>
> WARNING: vmlinux.o(.text+0x11be8): Section mismatch in reference from the function imx3_init_l2x0() to the function .init.text:l2x0_init()
> The function imx3_init_l2x0() references
> the function __init l2x0_init().
> This is often because imx3_init_l2x0 lacks a __init
> annotation or the annotation of l2x0_init is wrong.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
I'm seeing this warning with imx_v6_v7_defconfig build too, and would
like to send a fix for -rc right away.
Regards,
Shawn
> ---
> arch/arm/mach-imx/mm-imx3.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
> index 8404ee7..6222151 100644
> --- a/arch/arm/mach-imx/mm-imx3.c
> +++ b/arch/arm/mach-imx/mm-imx3.c
> @@ -76,7 +76,7 @@ static void __iomem *imx3_ioremap(unsigned long phys_addr, size_t size,
> return __arm_ioremap(phys_addr, size, mtype);
> }
>
> -void imx3_init_l2x0(void)
> +void __init imx3_init_l2x0(void)
> {
> void __iomem *l2x0_base;
> void __iomem *clkctl_base;
> --
> 1.7.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0()
2012-02-27 9:39 ` Shawn Guo
@ 2012-02-27 9:41 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2012-02-27 9:41 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 27, 2012 at 05:39:39PM +0800, Shawn Guo wrote:
> On Sun, Feb 26, 2012 at 01:27:04PM -0300, Fabio Estevam wrote:
> > Fix the following section mismatch:
> >
> > WARNING: vmlinux.o(.text+0x11be8): Section mismatch in reference from the function imx3_init_l2x0() to the function .init.text:l2x0_init()
> > The function imx3_init_l2x0() references
> > the function __init l2x0_init().
> > This is often because imx3_init_l2x0 lacks a __init
> > annotation or the annotation of l2x0_init is wrong.
> >
> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> I'm seeing this warning with imx_v6_v7_defconfig build too, and would
> like to send a fix for -rc right away.
>
Great, Sascha is taking care of it.
--
Regards,
Shawn
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-27 9:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-26 16:27 [PATCH] ARM: mach-imx: mx3: Fix section mismatch in imx3_init_l2x0() Fabio Estevam
2012-02-27 9:24 ` Sascha Hauer
2012-02-27 9:39 ` Shawn Guo
2012-02-27 9:41 ` Shawn Guo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.