From: kernel test robot <lkp@intel.com>
To: Brijesh Singh <brijesh.singh@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
x86@kernel.org, Borislav Petkov <bp@suse.de>
Subject: [tip:x86/sev 42/49] WARNING: modpost: vmlinux.o(.text.unlikely+0x1b81a): Section mismatch in reference from the function get_secrets_page() to the function .init.text:early_memremap()
Date: Mon, 18 Apr 2022 22:49:10 +0800 [thread overview]
Message-ID: <202204182206.xx2xw1wq-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sev
head: 101826e02ac6c829bf4e768295e79ae9c37b4b2a
commit: 3a45b3753849c4a12cca2dd176c0192cd2a63e62 [42/49] x86/sev: Register SEV-SNP guest request platform device
config: x86_64-randconfig-s021 (https://download.01.org/0day-ci/archive/20220418/202204182206.xx2xw1wq-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=3a45b3753849c4a12cca2dd176c0192cd2a63e62
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip x86/sev
git checkout 3a45b3753849c4a12cca2dd176c0192cd2a63e62
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x1b81a): Section mismatch in reference from the function get_secrets_page() to the function .init.text:early_memremap()
The function get_secrets_page() references
the function __init early_memremap().
This is often because get_secrets_page lacks a __init
annotation or the annotation of early_memremap is wrong.
--
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x1b835): Section mismatch in reference from the function get_secrets_page() to the function .init.text:early_memunmap()
The function get_secrets_page() references
the function __init early_memunmap().
This is often because get_secrets_page lacks a __init
annotation or the annotation of early_memunmap is wrong.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-18 15:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202204182206.xx2xw1wq-lkp@intel.com \
--to=lkp@intel.com \
--cc=bp@suse.de \
--cc=brijesh.singh@amd.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®