[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161715296549.226945.14575193524004441168.b4-ty@ellerman.id.au>
Date: Wed, 31 Mar 2021 12:09:25 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>,
Nathan Chancellor <nathan@...nel.org>
Cc: Paul Mackerras <paulus@...ba.org>, linuxppc-dev@...ts.ozlabs.org,
clang-built-linux@...glegroups.com, linux-kernel@...r.kernel.org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: Re: [PATCH] powerpc/fadump: Mark fadump_calculate_reserve_size as __init
On Tue, 2 Mar 2021 12:50:14 -0700, Nathan Chancellor wrote:
> If fadump_calculate_reserve_size() is not inlined, there is a modpost
> warning:
>
> WARNING: modpost: vmlinux.o(.text+0x5196c): Section mismatch in
> reference from the function fadump_calculate_reserve_size() to the
> function .init.text:parse_crashkernel()
> The function fadump_calculate_reserve_size() references
> the function __init parse_crashkernel().
> This is often because fadump_calculate_reserve_size lacks a __init
> annotation or the annotation of parse_crashkernel is wrong.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/fadump: Mark fadump_calculate_reserve_size as __init
https://git.kernel.org/powerpc/c/fbced1546eaaab57a32e56c974ea8acf10c6abd8
cheers
Powered by blists - more mailing lists