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

From: Masami Hiramatsu <[email-masked]>
Date: Mon, 25 Oct 2021 15:13:27 +0900

On Mon, 25 Oct 2021 15:39:42 +1100
Stephen Rothwell <[email-masked]> wrote:

> Hi all,
> 
> After merging the ftrace tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> WARNING: modpost: vmlinux.o(.text.unlikely+0x90082): Section mismatch in reference from the function xbc_alloc_mem() to the function .init.text:memblock_alloc_try_nid()
> The function xbc_alloc_mem() references
> the function __init memblock_alloc_try_nid().
> This is often because xbc_alloc_mem lacks a __init 
> annotation or the annotation of memblock_alloc_try_nid is wrong.
> 
> Introduced by commit
> 
>   4ee1b4cac236 ("bootconfig: Cleanup dummy headers in tools/bootconfig")

Thanks for reporting!
Let me fix that.

> -- 
> Cheers,
> Stephen Rothwell

-- 
Masami Hiramatsu <[email-masked]>