Re: [PATCH] powerpc/xive: Do not mark xive_request_ipi() as __init
From: Michael Ellerman
Date: Fri Aug 27 2021 - 09:26:46 EST
On Mon, 16 Aug 2021 11:57:11 -0700, Nathan Chancellor wrote:
> Compiling ppc64le_defconfig with clang-14 shows a modpost warning:
>
> WARNING: modpost: vmlinux.o(.text+0xa74e0): Section mismatch in
> reference from the function xive_setup_cpu_ipi() to the function
> .init.text:xive_request_ipi()
> The function xive_setup_cpu_ipi() references
> the function __init xive_request_ipi().
> This is often because xive_setup_cpu_ipi lacks a __init
> annotation or the annotation of xive_request_ipi is wrong.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/xive: Do not mark xive_request_ipi() as __init
https://git.kernel.org/powerpc/c/3f78c90f9eb2e228f44ecc8f4377753f0e11dbab
cheers