Re: WARNING: modpost: vmlinux: section mismatch in reference: bitmap_gather+0x6b (section: .text) -> sg_mask (section: .init.rodata)

From: Andy Shevchenko
Date: Wed Aug 14 2024 - 14:04:46 EST


On Mon, Jul 29, 2024 at 03:06:19PM +0800, kernel test robot wrote:
> Hi Andy,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: dc1c8034e31b14a2e5e212104ec508aec44ce1b9
> commit: de5f84338970815b9fdd3497a975fb572d11e0b5 lib/bitmap: Introduce bitmap_scatter() and bitmap_gather() helpers
> date: 5 months ago
> config: um-randconfig-001-20240729 (https://download.01.org/0day-ci/archive/20240729/202407291552.gxr1x7vB-lkp@xxxxxxxxx/config)
> compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240729/202407291552.gxr1x7vB-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/202407291552.gxr1x7vB-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):

This is dup of https://lore.kernel.org/r/202406200829.IytwLyQJ-lkp@xxxxxxxxx,
where the main discussion is ongoing.

--
With Best Regards,
Andy Shevchenko