tree:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next
head: f70f346189c1ae4e29ab01b4448f3617bf7636d3
commit: b295201537db0c28b04bf4a111704914e71200e5 [1/2] parisc/kernel/ftrace: Remove
function callback casts
config: riscv-randconfig-r004-20200809 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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
git checkout b295201537db0c28b04bf4a111704914e71200e5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> WARNING: modpost: vmlinux.o(.text+0x2392318): Section mismatch in
reference from the function devfreq_remove_device() to the variable .init.text:.LBB192
The function devfreq_remove_device() references
the variable __init .LBB192.
This is often because devfreq_remove_device lacks a __init
annotation or the annotation of .LBB192 is wrong.
--
> WARNING: modpost: vmlinux.o(.text+0x239f894): Section mismatch in
reference from the function iio_device_free() to the variable .init.text:.LBB228
The
function iio_device_free() references
the variable __init .LBB228.
This is often because iio_device_free lacks a __init
annotation or the annotation of .LBB228 is wrong.
--
> WARNING: modpost: vmlinux.o(__ex_table+0xd88): Section mismatch
in reference from the (unknown reference) (unknown) to the variable .debug_str:.LASF389
FATAL: modpost: The relocation at __ex_table+0xd88 references
section ".debug_str" which is not executable, IOW
it is not possible for the kernel to fault
at that address. Something is seriously wrong
and should be fixed.
The below error/warnings are from parent commit:
<< WARNING: modpost: vmlinux.o(.text+0x2392328): Section mismatch in reference from
the function devfreq_remove_device() to the variable .init.text:.LBE192
<< WARNING: modpost: vmlinux.o(.text+0x239f8a4): Section mismatch in reference from
the function iio_device_free() to the variable .init.text:.LBE228
<< WARNING: modpost: vmlinux.o(.text+0x239f8a8): Section mismatch in reference from
the function iio_device_free() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0xd88): Section mismatch in reference from
the (unknown reference) (unknown) to the variable .debug_str:.LASF390
<< WARNING: modpost: vmlinux.o(.text+0x2392328): Section mismatch in reference from
the function devfreq_remove_device() to the variable .init.text:.LBE192
<< WARNING: modpost: vmlinux.o(.text+0x239f8a4): Section mismatch in reference from
the function iio_device_free() to the variable .init.text:.LBE228
<< WARNING: modpost: vmlinux.o(.text+0x239f8a8): Section mismatch in reference from
the function iio_device_free() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0xd88): Section mismatch in reference from
the (unknown reference) (unknown) to the variable .debug_str:.LASF390
<< WARNING: modpost: vmlinux.o(.text+0x2392328): Section mismatch in reference from
the function devfreq_remove_device() to the variable .init.text:.LBE192
<< WARNING: modpost: vmlinux.o(.text+0x239f8a4): Section mismatch in reference from
the function iio_device_free() to the variable .init.text:.LBE228
<< WARNING: modpost: vmlinux.o(.text+0x239f8a8): Section mismatch in reference from
the function iio_device_free() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0xd88): Section mismatch in reference from
the (unknown reference) (unknown) to the variable .debug_str:.LASF390
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org