* [hnaz-mm:master 1/291] WARNING: modpost: vmlinux.o(.data+0x25c2ac): Section mismatch in reference from the variable ad7418_driver to the function .init.text:set_reset_devices()
@ 2022-04-22 0:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-22 0:18 UTC (permalink / raw)
To: Andrew Morton
Cc: llvm, kbuild-all, linux-kernel, Linux Memory Management List,
Johannes Weiner
tree: https://github.com/hnaz/linux-mm master
head: ba42854fa9997614e0ffdbc35b082df3ba6e59da
commit: c94c865a5858f9ddb424d9b57b33d1664a986044 [1/291] origin
config: riscv-randconfig-r015-20220420 (https://download.01.org/0day-ci/archive/20220422/202204220814.GIektaty-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/hnaz/linux-mm/commit/c94c865a5858f9ddb424d9b57b33d1664a986044
git remote add hnaz-mm https://github.com/hnaz/linux-mm
git fetch --no-tags hnaz-mm master
git checkout c94c865a5858f9ddb424d9b57b33d1664a986044
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv 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(.data+0x25c2ac): Section mismatch in reference from the variable ad7418_driver to the function .init.text:set_reset_devices()
The variable ad7418_driver references
the function __init set_reset_devices()
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:
Note: the below error/warnings can be found in parent commit:
<< WARNING: modpost: vmlinux.o(.text+0x126d798): Section mismatch in reference from the function ir_raw_get_allowed_protocols() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x1505c8e): Section mismatch in reference from the function tb_debugfs_exit() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2356bc): Section mismatch in reference from the variable tuners to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x25c43c): Section mismatch in reference from the variable ad7417_attrs to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x25c444): Section mismatch in reference from the variable ad7417_attrs to the variable .meminit.text:.LBB9_3
<< WARNING: modpost: vmlinux.o(.data+0x25c454): Section mismatch in reference from the variable sensor_dev_attr_in1_input to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x25c474): Section mismatch in reference from the variable sensor_dev_attr_in2_input to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x25c494): Section mismatch in reference from the variable sensor_dev_attr_in3_input to the function .meminit.text:init_reserve_notifier()
<< WARNING: modpost: vmlinux.o(.data+0x25c4b4): Section mismatch in reference from the variable sensor_dev_attr_in4_input to the variable .meminit.text:.LBB9_4
<< WARNING: modpost: vmlinux.o(.data+0x25c4c8): Section mismatch in reference from the variable sensor_dev_attr_in4_input to the function .meminit.text:init_reserve_notifier()
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-22 0:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 0:18 [hnaz-mm:master 1/291] WARNING: modpost: vmlinux.o(.data+0x25c2ac): Section mismatch in reference from the variable ad7418_driver to the function .init.text:set_reset_devices() kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.