[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204182206.xx2xw1wq-lkp@intel.com>
Date: Mon, 18 Apr 2022 22:49:10 +0800
From: kernel test robot <lkp@...el.com>
To: Brijesh Singh <brijesh.singh@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
x86@...nel.org, Borislav Petkov <bp@...e.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()
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@...el.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
Powered by blists - more mailing lists