From: kernel test robot <lkp@intel.com>
To: Alison Schofield <alison.schofield@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Alison Schofield <alison.schofield@intel.com>,
Vishal Verma <vishal.l.verma@intel.com>,
Ira Weiny <ira.weiny@intel.com>,
Ben Widawsky <ben.widawsky@intel.com>,
Dan Williams <dan.j.williams@intel.com>,
linux-kernel@vger.kernel.org
Subject: [cxl:pending 21/34] WARNING: modpost: vmlinux.o(.data+0x211170): Section mismatch in reference from the variable ocores_algorithm to the function .init.text:set_reset_devices()
Date: Fri, 29 Apr 2022 15:20:53 +0800 [thread overview]
Message-ID: <202204291528.JcxVNDff-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git pending
head: e6829d1bd3c4b58296ee9e412f7ed4d6cb390192
commit: 26f89535a5bb17915a2e1062c3999a2ee797c7b0 [21/34] cxl/mbox: Use type __u32 for mailbox payload sizes
config: riscv-buildonly-randconfig-r003-20220428 (https://download.01.org/0day-ci/archive/20220429/202204291528.JcxVNDff-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c59473aacce38cd7dd77eebceaf3c98c5707ab3b)
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/cxl/cxl.git/commit/?id=26f89535a5bb17915a2e1062c3999a2ee797c7b0
git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
git fetch --no-tags cxl pending
git checkout 26f89535a5bb17915a2e1062c3999a2ee797c7b0
# 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+0x211170): Section mismatch in reference from the variable ocores_algorithm to the function .init.text:set_reset_devices()
The variable ocores_algorithm 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(.data+0x20a7cc): Section mismatch in reference from the variable rk805_pwrkey_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x20d8b8): Section mismatch in reference from the variable tegra_rtc_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2950a8): Section mismatch in reference from the variable wm5100_mixer_texts to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2950b8): Section mismatch in reference from the variable wm5100_mixer_texts to the variable .init.text:.LBB1_1
<< WARNING: modpost: vmlinux.o(.data+0x2950d0): Section mismatch in reference from the variable wm5100_mixer_texts to the function .exit.text:versatile_pci_driver_exit()
<< WARNING: modpost: vmlinux.o(.data+0x2950d4): Section mismatch in reference from the variable wm5100_mixer_texts to the function .exit.text:test_ww_mutex_exit()
<< WARNING: modpost: vmlinux.o(.data+0x2950d8): Section mismatch in reference from the variable wm5100_mixer_texts to the variable .exit.text:.LBB2_1
<< WARNING: modpost: vmlinux.o(.data+0x2b6658): Section mismatch in reference from the variable t9015_dai to the function .exit.text:test_ww_mutex_exit()
<< WARNING: modpost: vmlinux.o(.data+0x2bfb20): Section mismatch in reference from the variable sprd_mcdt_driver to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.data+0x2bfb88): Section mismatch in reference from the variable stm32_sai_sub_driver to the function .init.text:set_reset_devices()
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-29 7:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202204291528.JcxVNDff-lkp@intel.com \
--to=lkp@intel.com \
--cc=alison.schofield@intel.com \
--cc=ben.widawsky@intel.com \
--cc=dan.j.williams@intel.com \
--cc=ira.weiny@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=vishal.l.verma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome