[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203092049.VcyMVRt9-lkp@intel.com>
Date: Wed, 9 Mar 2022 20:17:33 +0800
From: kernel test robot <lkp@...el.com>
To: Janne Grunau <j@...nau.net>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Hector Martin <marcan@...can.st>
Subject: [asahilinux:bits/090-spi-hid 11/12] WARNING: modpost:
vmlinux.o(.text+0xd102d6): Section mismatch in reference from the function
__of_remove_property_sysfs() to the variable .init.text:.L0
tree: https://github.com/AsahiLinux/linux bits/090-spi-hid
head: 5e8dcc1ce6c0e41770619875b11fd66e26bc7bc7
commit: b3a105362f319c01ed074b19345679271bb364f8 [11/12] HID: magicmouse: add support for Macbook trackpads
config: riscv-randconfig-r042-20220308 (https://download.01.org/0day-ci/archive/20220309/202203092049.VcyMVRt9-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 11.2.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://github.com/AsahiLinux/linux/commit/b3a105362f319c01ed074b19345679271bb364f8
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/090-spi-hid
git checkout b3a105362f319c01ed074b19345679271bb364f8
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 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@...el.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.text+0xd102d6): Section mismatch in reference from the function __of_remove_property_sysfs() to the variable .init.text:.L0
The function __of_remove_property_sysfs() references
the variable __init .L0 .
This is often because __of_remove_property_sysfs lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0xd10312): Section mismatch in reference from the function __of_update_property_sysfs() to the variable .init.text:.L0
The function __of_update_property_sysfs() references
the variable __init .L0 .
This is often because __of_update_property_sysfs lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0xdc7e28): Section mismatch in reference from the function mcb_bus_put() to the variable .exit.text:.L0
The function mcb_bus_put() references a variable in an exit section.
Often the variable .L0 has valid usage outside the exit section
and the fix is to remove the __exit annotation of .L0 .
Note: the below error/warnings can be found in parent commit:
<< WARNING: modpost: vmlinux.o(.text+0xd75d34): Section mismatch in reference from the function devm_iio_kfifo_buffer_setup_ext() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0xf2e068): Section mismatch in reference from the function vcc_ioctl() to the variable .exit.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x12b4): Section mismatch in reference from the variable .L0 to the variable .debug_str:.LASF741
<< WARNING: modpost: vmlinux.o(.text+0xd75d34): Section mismatch in reference from the function devm_iio_kfifo_buffer_setup_ext() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0xf2e068): Section mismatch in reference from the function vcc_ioctl() to the variable .exit.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x12b4): Section mismatch in reference from the variable .L0 to the variable .debug_str:.LASF741
<< WARNING: modpost: vmlinux.o(.text+0xd75d34): Section mismatch in reference from the function devm_iio_kfifo_buffer_setup_ext() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0xf2e068): Section mismatch in reference from the function vcc_ioctl() to the variable .exit.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x12b4): Section mismatch in reference from the variable .L0 to the variable .debug_str:.LASF741
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists