* [PATCH 1/4] ARM: omap2: avoid section mismatch warning
@ 2018-12-10 21:58 Arnd Bergmann
2018-12-10 22:09 ` Tony Lindgren
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Arnd Bergmann @ 2018-12-10 21:58 UTC (permalink / raw)
To: arm, Kevin Hilman, Tony Lindgren
Cc: Arnd Bergmann, Dave Gerlach, Keerthy, linux-kernel, Tero Kristo,
Santosh Shilimkar, linux-omap, linux-arm-kernel
WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
The function am43xx_suspend_init() references
the function __init am43xx_map_scu().
This is often because am43xx_suspend_init lacks a __init
annotation or the annotation of am43xx_map_scu is wrong.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-omap2/pm33xx-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/pm33xx-core.c b/arch/arm/mach-omap2/pm33xx-core.c
index f4971e4a86b2..724cf5774a6c 100644
--- a/arch/arm/mach-omap2/pm33xx-core.c
+++ b/arch/arm/mach-omap2/pm33xx-core.c
@@ -28,7 +28,7 @@ static struct clockdomain *gfx_l4ls_clkdm;
static void __iomem *scu_base;
static struct omap_hwmod *rtc_oh;
-static int __init am43xx_map_scu(void)
+static int am43xx_map_scu(void)
{
scu_base = ioremap(scu_a9_get_base(), SZ_256);
--
2.20.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/4] ARM: omap2: avoid section mismatch warning
2018-12-10 21:58 [PATCH 1/4] ARM: omap2: avoid section mismatch warning Arnd Bergmann
@ 2018-12-10 22:09 ` Tony Lindgren
2018-12-12 22:05 ` Olof Johansson
2018-12-11 2:11 ` Santosh Shilimkar
2018-12-11 18:12 ` Kevin Hilman
2 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2018-12-10 22:09 UTC (permalink / raw)
To: Arnd Bergmann
Cc: arm, Kevin Hilman, Dave Gerlach, Keerthy, Tero Kristo,
Santosh Shilimkar, linux-omap, linux-arm-kernel, linux-kernel
* Arnd Bergmann <arnd@arndb.de> [181210 21:59]:
> WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
> The function am43xx_suspend_init() references
> the function __init am43xx_map_scu().
> This is often because am43xx_suspend_init lacks a __init
> annotation or the annotation of am43xx_map_scu is wrong.
Acked-by: Tony Lindgren <tony@atomide.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/4] ARM: omap2: avoid section mismatch warning
2018-12-10 21:58 [PATCH 1/4] ARM: omap2: avoid section mismatch warning Arnd Bergmann
2018-12-10 22:09 ` Tony Lindgren
@ 2018-12-11 2:11 ` Santosh Shilimkar
2018-12-11 18:12 ` Kevin Hilman
2 siblings, 0 replies; 5+ messages in thread
From: Santosh Shilimkar @ 2018-12-11 2:11 UTC (permalink / raw)
To: Arnd Bergmann, arm, Kevin Hilman, Tony Lindgren
Cc: Dave Gerlach, Keerthy, Tero Kristo, Santosh Shilimkar, linux-omap,
linux-arm-kernel, linux-kernel
On 12/10/2018 1:58 PM, Arnd Bergmann wrote:
> WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
> The function am43xx_suspend_init() references
> the function __init am43xx_map_scu().
> This is often because am43xx_suspend_init lacks a __init
> annotation or the annotation of am43xx_map_scu is wrong.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/4] ARM: omap2: avoid section mismatch warning
2018-12-10 21:58 [PATCH 1/4] ARM: omap2: avoid section mismatch warning Arnd Bergmann
2018-12-10 22:09 ` Tony Lindgren
2018-12-11 2:11 ` Santosh Shilimkar
@ 2018-12-11 18:12 ` Kevin Hilman
2 siblings, 0 replies; 5+ messages in thread
From: Kevin Hilman @ 2018-12-11 18:12 UTC (permalink / raw)
To: arm, Kevin Hilman, Tony Lindgren
Cc: Arnd Bergmann, Dave Gerlach, Keerthy, Tero Kristo,
Santosh Shilimkar, linux-omap, linux-arm-kernel, linux-kernel
Arnd Bergmann <arnd@arndb.de> writes:
> WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
> The function am43xx_suspend_init() references
> the function __init am43xx_map_scu().
> This is often because am43xx_suspend_init lacks a __init
> annotation or the annotation of am43xx_map_scu is wrong.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/4] ARM: omap2: avoid section mismatch warning
2018-12-10 22:09 ` Tony Lindgren
@ 2018-12-12 22:05 ` Olof Johansson
0 siblings, 0 replies; 5+ messages in thread
From: Olof Johansson @ 2018-12-12 22:05 UTC (permalink / raw)
To: Tony Lindgren
Cc: Arnd Bergmann, arm, Kevin Hilman, Dave Gerlach, Keerthy,
Tero Kristo, Santosh Shilimkar, linux-omap, linux-arm-kernel,
linux-kernel
On Mon, Dec 10, 2018 at 02:09:26PM -0800, Tony Lindgren wrote:
> * Arnd Bergmann <arnd@arndb.de> [181210 21:59]:
> > WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
> > The function am43xx_suspend_init() references
> > the function __init am43xx_map_scu().
> > This is often because am43xx_suspend_init lacks a __init
> > annotation or the annotation of am43xx_map_scu is wrong.
>
> Acked-by: Tony Lindgren <tony@atomide.com>
Applied, thanks!
-Olof
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-12-12 22:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-10 21:58 [PATCH 1/4] ARM: omap2: avoid section mismatch warning Arnd Bergmann
2018-12-10 22:09 ` Tony Lindgren
2018-12-12 22:05 ` Olof Johansson
2018-12-11 2:11 ` Santosh Shilimkar
2018-12-11 18:12 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).