WARNING: modpost: vmlinux.o(.text.unlikely+0xeee4): Section mismatch in reference from the variable $c to the variable .init.data:bitmap
From: kernel test robot
Date: Tue Mar 01 2022 - 07:52:06 EST
Hi Mark,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 719fce7539cd3e186598e2aed36325fe892150cf
commit: 9248e52fec9536590852844b0634b5d20483c1ab locking/atomic: simplify non-atomic wrappers
date: 7 months ago
config: nds32-randconfig-r001-20220301 (https://download.01.org/0day-ci/archive/20220301/202203012055.IdfbEDXo-lkp@xxxxxxxxx/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9248e52fec9536590852844b0634b5d20483c1ab
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9248e52fec9536590852844b0634b5d20483c1ab
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.text.unlikely+0xeee4): Section mismatch in reference from the variable $c to the variable .init.data:bitmap
The function $c() references
the variable __initdata bitmap.
This is often because $c lacks a __initdata
annotation or the annotation of bitmap is wrong.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx