[intel-tdx:guest-next 4/10] WARNING: modpost: vmlinux.o(___ksymtab_gpl+acpi_tbl_allow_setup+0x0): Section mismatch in reference from the variable __ksymtab_acpi_tbl_allow_setup to the function .init.text:acpi_tbl_allow_setup()

From: kernel test robot
Date: Sun Jul 10 2022 - 03:30:13 EST


tree: https://github.com/intel/tdx.git guest-next
head: d43700a128bf0d6e35dea23d9abf8d20e13151b2
commit: 721cbb4948e37c53cacbaa5925b2b65714dae1fa [4/10] Merge remote-tracking branch 'origin/guest-filter' into guest-5.19
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220710/202207101514.rmPlHWht-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/721cbb4948e37c53cacbaa5925b2b65714dae1fa
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-next
git checkout 721cbb4948e37c53cacbaa5925b2b65714dae1fa
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(___ksymtab_gpl+acpi_tbl_allow_setup+0x0): Section mismatch in reference from the variable __ksymtab_acpi_tbl_allow_setup to the function .init.text:acpi_tbl_allow_setup()
The symbol acpi_tbl_allow_setup is exported and annotated __init
Fix this by removing the __init annotation of acpi_tbl_allow_setup or drop the export.

--
0-DAY CI Kernel Test Service
https://01.org/lkp