Re: [PATCH] fs/ufs: Replace kmap() with kmap_local_page()

From: Fabio M. De Francesco
Date: Mon May 09 2022 - 02:21:12 EST


On lunedì 9 maggio 2022 02:25:00 CEST kernel test robot wrote:
> Hi "Fabio,
>
> Thank you for the patch! Perhaps something to improve:
>
> [auto build test WARNING on linus/master]
> [also build test WARNING on v5.18-rc6]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Fabio-M-De-Francesco/fs-ufs-Replace-kmap-with-kmap_local_page/20220509-040920
> base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
linux.git e3de3a1cda5fdc3ac42cb0d45321fb254500595f
> config: riscv-randconfig-r042-20220509 (https://download.01.org/0day-ci/
archive/20220509/202205090835.NEUQ3VKB-lkp@xxxxxxxxx/config)
> compiler: riscv32-linux-gcc (GCC) 11.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
> # https://github.com/intel-lab-lkp/linux/commit/
e73d9919e2725b216318d5d02b8a184876ab3b11
> git remote add linux-review https://github.com/intel-lab-lkp/
linux
> git fetch --no-tags linux-review Fabio-M-De-Francesco/fs-ufs-
Replace-kmap-with-kmap_local_page/20220509-040920
> git checkout e73d9919e2725b216318d5d02b8a184876ab3b11
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 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@xxxxxxxxx>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> >> WARNING: modpost: vmlinux.o(.text+0xa76c20): Section mismatch in
reference from the function rtc_update_irq() to the variable
.init.text:.LVL13
> The function rtc_update_irq() references
> the variable __init .LVL13.
> This is often because rtc_update_irq lacks a __init
> annotation or the annotation of .LVL13 is wrong.
> --
> >> WARNING: modpost: vmlinux.o(.text+0xb35ab4): Section mismatch in
reference from the function btintel_send_intel_reset() to the variable
.init.text:.LBE19058
> The function btintel_send_intel_reset() references
> the variable __init .LBE19058.
> This is often because btintel_send_intel_reset lacks a __init
> annotation or the annotation of .LBE19058 is wrong.
> --
> >> WARNING: modpost: vmlinux.o(.text+0xc53984): Section mismatch in
reference from the function neigh_table_clear() to the variable .init.text:
$x
> The function neigh_table_clear() references
> the variable __init $x.
> This is often because neigh_table_clear lacks a __init
> annotation or the annotation of $x is wrong.
> --
> >> WARNING: modpost: vmlinux.o(__ex_table+0x141c): Section mismatch in
reference from the variable .L0 to the variable .debug_str:.LASF936
> FATAL: modpost: extable_entry size hasn't been discovered!
>
> Note: the below error/warnings can be found in parent commit:
> << WARNING: modpost: vmlinux.o(.text+0xa76d10): Section mismatch in
reference from the function rtc_update_irq() to the variable .init.text:.L0
> << WARNING: modpost: vmlinux.o(.exit.text+0x9b48): Section mismatch in
reference from the function rproc_exit_sysfs() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(__ex_table+0x141c): Section mismatch in
reference from the variable .L0 to the variable .debug_str:.LASF1567
> << WARNING: modpost: vmlinux.o(.text+0xa7839c): Section mismatch in
reference from the function rtc_get_dev_attribute_groups() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2676): Section mismatch in
reference from the function ir_raw_get_allowed_protocols() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2cb8): Section mismatch in
reference from the function ir_raw_event_prepare() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e16): Section mismatch in
reference from the function ir_raw_event_free() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e3a): Section mismatch in
reference from the function ir_raw_event_unregister() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xb35172): Section mismatch in
reference from the function btintel_enter_mfg() to the variable
.init.text:.LBB19521
> << WARNING: modpost: vmlinux.o(.text+0xa76d10): Section mismatch in
reference from the function rtc_update_irq() to the variable .init.text:.L0
> << WARNING: modpost: vmlinux.o(.exit.text+0x9b48): Section mismatch in
reference from the function rproc_exit_sysfs() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(__ex_table+0x141c): Section mismatch in
reference from the variable .L0 to the variable .debug_str:.LASF1567
> << WARNING: modpost: vmlinux.o(.text+0xa7839c): Section mismatch in
reference from the function rtc_get_dev_attribute_groups() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2676): Section mismatch in
reference from the function ir_raw_get_allowed_protocols() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2cb8): Section mismatch in
reference from the function ir_raw_event_prepare() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e16): Section mismatch in
reference from the function ir_raw_event_free() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e3a): Section mismatch in
reference from the function ir_raw_event_unregister() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xb35172): Section mismatch in
reference from the function btintel_enter_mfg() to the variable
.init.text:.LBB19521
> << WARNING: modpost: vmlinux.o(.text+0xa76d10): Section mismatch in
reference from the function rtc_update_irq() to the variable .init.text:.L0
> << WARNING: modpost: vmlinux.o(.exit.text+0x9b48): Section mismatch in
reference from the function rproc_exit_sysfs() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(__ex_table+0x141c): Section mismatch in
reference from the variable .L0 to the variable .debug_str:.LASF1567
> << WARNING: modpost: vmlinux.o(.text+0xa7839c): Section mismatch in
reference from the function rtc_get_dev_attribute_groups() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2676): Section mismatch in
reference from the function ir_raw_get_allowed_protocols() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2cb8): Section mismatch in
reference from the function ir_raw_event_prepare() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e16): Section mismatch in
reference from the function ir_raw_event_free() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e3a): Section mismatch in
reference from the function ir_raw_event_unregister() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xb35172): Section mismatch in
reference from the function btintel_enter_mfg() to the variable
.init.text:.LBB19521
> << WARNING: modpost: vmlinux.o(.text+0xa76d10): Section mismatch in
reference from the function rtc_update_irq() to the variable .init.text:.L0
> << WARNING: modpost: vmlinux.o(.exit.text+0x9b48): Section mismatch in
reference from the function rproc_exit_sysfs() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(__ex_table+0x141c): Section mismatch in
reference from the variable .L0 to the variable .debug_str:.LASF1567
> << WARNING: modpost: vmlinux.o(.text+0xa7839c): Section mismatch in
reference from the function rtc_get_dev_attribute_groups() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2676): Section mismatch in
reference from the function ir_raw_get_allowed_protocols() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2cb8): Section mismatch in
reference from the function ir_raw_event_prepare() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e16): Section mismatch in
reference from the function ir_raw_event_free() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xae2e3a): Section mismatch in
reference from the function ir_raw_event_unregister() to the variable
.init.text:.L0
> << WARNING: modpost: vmlinux.o(.text+0xb35172): Section mismatch in
reference from the function btintel_enter_mfg() to the variable
.init.text:.LBB19521
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
>
I cannot understand this report. All the functions listed here seem to have
nothing to do with my patch. Can anyone explain how these errors are
related to my changes?

Thanks,

Fabio