* [linux-next:master 14072/14381] WARNING: modpost: vmlinux.o(.data+0x12018c): Section mismatch in reference from the variable sensor_dev_attr_in5_alarm to the function .init.text:set_reset_devices()
@ 2022-03-26 23:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-26 23:17 UTC (permalink / raw)
To: Richard Weinberger; +Cc: llvm, kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: fd4fbb998102ef7812d594121fbabd2b10dced1b
commit: 7451caef08ff6fd043cd14079d4abfd0540609af [14072/14381] Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git
config: riscv-randconfig-r031-20220325 (https://download.01.org/0day-ci/archive/20220327/202203270755.7IViqD3s-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7451caef08ff6fd043cd14079d4abfd0540609af
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 7451caef08ff6fd043cd14079d4abfd0540609af
# save the config file to linux build tree
mkdir build_dir
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+0x12018c): Section mismatch in reference from the variable sensor_dev_attr_in5_alarm to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_in5_alarm 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:
--
>> WARNING: modpost: vmlinux.o(.data+0x12020c): Section mismatch in reference from the variable sensor_dev_attr_in6_alarm to the function .init.text:set_reset_devices()
The variable sensor_dev_attr_in6_alarm 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:
--
>> WARNING: modpost: vmlinux.o(.data+0x114fc8): Section mismatch in reference from the variable dev_attr_in2_max to the function .init.text:set_reset_devices()
The variable dev_attr_in2_max 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+0x1d33ffc): Section mismatch in reference from the function v4l2_prio_open() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x103a64): Section mismatch in reference from the variable sbsm_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110cd8): Section mismatch in reference from the variable sensor_dev_attr_temp3_fault to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110cf8): Section mismatch in reference from the variable sensor_dev_attr_temp3_min_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110d18): Section mismatch in reference from the variable sensor_dev_attr_temp3_max_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110d38): Section mismatch in reference from the variable sensor_dev_attr_temp3_crit_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110fb8): Section mismatch in reference from the variable sensor_dev_attr_power_state to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110ff8): Section mismatch in reference from the variable emc1402_alarms to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x11342c): Section mismatch in reference from the variable fxxxx_fan_attr to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x11368c): Section mismatch in reference from the variable fxxxx_fan_beep_attr to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x1d33ffc): Section mismatch in reference from the function v4l2_prio_open() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x103a64): Section mismatch in reference from the variable sbsm_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110cd8): Section mismatch in reference from the variable sensor_dev_attr_temp3_fault to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110cf8): Section mismatch in reference from the variable sensor_dev_attr_temp3_min_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110d18): Section mismatch in reference from the variable sensor_dev_attr_temp3_max_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110d38): Section mismatch in reference from the variable sensor_dev_attr_temp3_crit_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110fb8): Section mismatch in reference from the variable sensor_dev_attr_power_state to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110ff8): Section mismatch in reference from the variable emc1402_alarms to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x11342c): Section mismatch in reference from the variable fxxxx_fan_attr to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x11368c): Section mismatch in reference from the variable fxxxx_fan_beep_attr to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x1d33ffc): Section mismatch in reference from the function v4l2_prio_open() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x103a64): Section mismatch in reference from the variable sbsm_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110cd8): Section mismatch in reference from the variable sensor_dev_attr_temp3_fault to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110cf8): Section mismatch in reference from the variable sensor_dev_attr_temp3_min_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110d18): Section mismatch in reference from the variable sensor_dev_attr_temp3_max_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110d38): Section mismatch in reference from the variable sensor_dev_attr_temp3_crit_alarm to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110fb8): Section mismatch in reference from the variable sensor_dev_attr_power_state to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x110ff8): Section mismatch in reference from the variable emc1402_alarms to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x11342c): Section mismatch in reference from the variable fxxxx_fan_attr to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x11368c): Section mismatch in reference from the variable fxxxx_fan_beep_attr to the function .init.text:set_reset_devices()
--
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-03-26 23:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-26 23:17 [linux-next:master 14072/14381] WARNING: modpost: vmlinux.o(.data+0x12018c): Section mismatch in reference from the variable sensor_dev_attr_in5_alarm to the function .init.text:set_reset_devices() kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox