Re: WARNING: modpost: vmlinux: section mismatch in reference: alloc_tag_save+0x24 (section: .text.unlikely) -> initcall_level_names (section: .init.data)

From: Suren Baghdasaryan
Date: Thu Jul 11 2024 - 16:26:42 EST


On Mon, Jul 8, 2024 at 3:13 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 256abd8e550ce977b728be79a74e1729438b4948
> commit: b951aaff503502a7fe066eeed2744ba8a6413c89 mm: enable page allocation tagging
> date: 2 months ago
> config: xtensa-randconfig-r132-20240707 (https://download.01.org/0day-ci/archive/20240709/202407090645.ruIapj8y-lkp@xxxxxxxxx/config)
> compiler: xtensa-linux-gcc (GCC) 13.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20240709/202407090645.ruIapj8y-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202407090645.ruIapj8y-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in vmlinux.o
> >> WARNING: modpost: vmlinux: section mismatch in reference: alloc_tag_save+0x24 (section: .text.unlikely) -> initcall_level_names (section: .init.data)

This looks the same as
https://lore.kernel.org/oe-kbuild-all/202407032306.gi9nZsBi-lkp@xxxxxxxxx/
and both should be fixed by
https://lore.kernel.org/all/20240703221520.4108464-1-surenb@xxxxxxxxxx/
which I believe is in mm-hotfixes-stable branch:
https://lore.kernel.org/all/20240709224150.B4711C3277B@xxxxxxxxxxxxxxx/

> WARNING: modpost: vmlinux: section mismatch in reference: bitmap_copy_clear_tail+0x5c (section: .text.unlikely) -> __setup_str_initcall_blacklist (section: .init.rodata)
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki