linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/xive: Fix section __init warning
@ 2017-09-04  6:37 Cédric Le Goater
  2017-09-06 10:55 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Cédric Le Goater @ 2017-09-04  6:37 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Michael Ellerman, Cédric Le Goater

xive_spapr_init() is called from a __init routine and calls __init
routines.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 arch/powerpc/sysdev/xive/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c
index 43e9eeb0d39f..f24a70bc6855 100644
--- a/arch/powerpc/sysdev/xive/spapr.c
+++ b/arch/powerpc/sysdev/xive/spapr.c
@@ -593,7 +593,7 @@ static bool xive_get_max_prio(u8 *max_prio)
 	return true;
 }
 
-bool xive_spapr_init(void)
+bool __init xive_spapr_init(void)
 {
 	struct device_node *np;
 	struct resource r;
-- 
2.13.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: powerpc/xive: Fix section __init warning
  2017-09-04  6:37 [PATCH] powerpc/xive: Fix section __init warning Cédric Le Goater
@ 2017-09-06 10:55 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2017-09-06 10:55 UTC (permalink / raw)
  To: Cédric Le Goater, linuxppc-dev; +Cc: Cédric Le Goater

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

On Mon, 2017-09-04 at 06:37:55 UTC, =?utf-8?q?C=C3=A9dric_Le_Goater?= wrote:
> xive_spapr_init() is called from a __init routine and calls __init
> routines.
> 
> Signed-off-by: Cédric Le Goater <clg@kaod.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/265601f034df3566f22da11240977a

cheers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-06 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04  6:37 [PATCH] powerpc/xive: Fix section __init warning Cédric Le Goater
2017-09-06 10:55 ` Michael Ellerman

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).