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

From: Stephen Rothwell
Date: Mon Oct 25 2021 - 00:39:48 EST


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

--
Cheers,
Stephen Rothwell

Attachment: pgp7fw2ZTbxv9.pgp
Description: OpenPGP digital signature