* [akpm-mm:mm-new 111/126] WARNING: modpost: vmlinux: section mismatch in reference: kasan_init+0x3b (section: .ltext) -> kasan_init_generic (section: .init.text)
@ 2025-07-21 10:50 kernel test robot
2025-07-21 12:37 ` Sabyrzhan Tasbolatov
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-07-21 10:50 UTC (permalink / raw)
To: Sabyrzhan Tasbolatov
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head: 1b0686bd18c1aa9d7f01943829faa5befe6ab3d1
commit: 27a653bc6bbf595a1ed3817ecf37239cbb768ba7 [111/126] kasan/um: select ARCH_DEFER_KASAN and call kasan_init_generic
config: um-randconfig-r132-20250721 (https://download.01.org/0day-ci/archive/20250721/202507211807.ZEFVLJ7e-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250721/202507211807.ZEFVLJ7e-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507211807.ZEFVLJ7e-lkp@intel.com/
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux: section mismatch in reference: kasan_init+0x3b (section: .ltext) -> kasan_init_generic (section: .init.text)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [akpm-mm:mm-new 111/126] WARNING: modpost: vmlinux: section mismatch in reference: kasan_init+0x3b (section: .ltext) -> kasan_init_generic (section: .init.text)
2025-07-21 10:50 [akpm-mm:mm-new 111/126] WARNING: modpost: vmlinux: section mismatch in reference: kasan_init+0x3b (section: .ltext) -> kasan_init_generic (section: .init.text) kernel test robot
@ 2025-07-21 12:37 ` Sabyrzhan Tasbolatov
0 siblings, 0 replies; 2+ messages in thread
From: Sabyrzhan Tasbolatov @ 2025-07-21 12:37 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List
On Mon, Jul 21, 2025 at 3:51 PM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> head: 1b0686bd18c1aa9d7f01943829faa5befe6ab3d1
> commit: 27a653bc6bbf595a1ed3817ecf37239cbb768ba7 [111/126] kasan/um: select ARCH_DEFER_KASAN and call kasan_init_generic
> config: um-randconfig-r132-20250721 (https://download.01.org/0day-ci/archive/20250721/202507211807.ZEFVLJ7e-lkp@intel.com/config)
> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250721/202507211807.ZEFVLJ7e-lkp@intel.com/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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202507211807.ZEFVLJ7e-lkp@intel.com/
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> >> WARNING: modpost: vmlinux: section mismatch in reference: kasan_init+0x3b (section: .ltext) -> kasan_init_generic (section: .init.text)
I've mentioned about this in [1] cover letter,
it's due to the code in arch/um/kernel/mem.c, where kasan_init()
is placed in own section ".kasan_init", which calls kasan_init_generic()
which is marked with "__init".
[1] https://lore.kernel.org/all/20250717142732.292822-1-snovitoll@gmail.com/
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-21 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-21 10:50 [akpm-mm:mm-new 111/126] WARNING: modpost: vmlinux: section mismatch in reference: kasan_init+0x3b (section: .ltext) -> kasan_init_generic (section: .init.text) kernel test robot
2025-07-21 12:37 ` Sabyrzhan Tasbolatov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox