public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Richard Weinberger <richard@nod.at>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [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()
Date: Sun, 27 Mar 2022 07:17:04 +0800	[thread overview]
Message-ID: <202203270755.7IViqD3s-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-03-26 23:17 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=202203270755.7IViqD3s-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    --cc=richard@nod.at \
    /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