WARNING: modpost: vmlinux.o(.text.unlikely+0x24dc): Section mismatch in reference from the function find_next_bit() to the variable .init.rodata:__setup_str_initcall_blacklist

From: kernel test robot
Date: Sat Jun 11 2022 - 17:21:51 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0678afa6055d14799c1dc1eee47c8025eba56cab
commit: 2c523550b9924f98299414253d8a1fef7c60ef2d lib/bitmap: add test for bitmap_{from,to}_arr64
date: 8 days ago
config: xtensa-randconfig-r001-20220612 (https://download.01.org/0day-ci/archive/20220612/202206120501.LD90ONuZ-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 11.3.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=2c523550b9924f98299414253d8a1fef7c60ef2d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 2c523550b9924f98299414253d8a1fef7c60ef2d
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=xtensa 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(.text.unlikely+0x24b0): Section mismatch in reference from the function bitmap_equal() to the variable .init.rodata:__setup_str_initcall_blacklist
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x24dc): Section mismatch in reference from the function find_next_bit() to the variable .init.rodata:__setup_str_initcall_blacklist
The function find_next_bit() references
the variable __initconst __setup_str_initcall_blacklist.
This is often because find_next_bit lacks a __initconst
annotation or the annotation of __setup_str_initcall_blacklist is wrong.

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