Re: linux-next: build warning after merge of the powerpc tree

From: CÃdric Le Goater
Date: Mon Sep 04 2017 - 08:36:41 EST


On 09/04/2017 10:53 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the powerpc tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> WARNING: vmlinux.o(.text+0xa7cb8): Section mismatch in reference from the function .xive_spapr_init() to the function .init.text:.xive_core_init()
> The function .xive_spapr_init() references
> the function __init .xive_core_init().
> This is often because .xive_spapr_init lacks a __init
> annotation or the annotation of .xive_core_init is wrong.
>
> Introduced by commit
>
> eac1e731b59e ("powerpc/xive: guest exploitation of the XIVE interrupt controller")
>

yes. I just sent a patch for this :

http://patchwork.ozlabs.org/patch/809542/

Cheers,

C.