WARNING: modpost: vmlinux: section mismatch in reference: show_flags+0x18c (section: .text.unlikely) -> initcall_level_names (section: .init.data)
From: kernel test robot
Date: Thu Dec 03 2026 - 10:16:17 EST
Hi Arnd,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 94bfc7f3b0c7c33331ba4ff6cc64ff309dfcbce8 err.h: use __always_inline on all error pointer helpers
date: 6 months ago
config: xtensa-randconfig-r2307-20261202 (https://download.01.org/0day-ci/archive/20261203/20261203161257.Vzx7Ez60-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 14.4.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203161257.Vzx7Ez60-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
| Fixes: 94bfc7f3b0c7 ("err.h: use __always_inline on all error pointer helpers")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203161257.Vzx7Ez60-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>, old ones prefixed by <<):
WARNING: modpost: vmlinux: section mismatch in reference: strcpy.isra.0+0x14 (section: .text.unlikely) -> initcall_level_names (section: .init.data)
>> WARNING: modpost: vmlinux: section mismatch in reference: show_flags+0x18c (section: .text.unlikely) -> initcall_level_names (section: .init.data)
>> WARNING: modpost: vmlinux: section mismatch in reference: show_flags+0x190 (section: .text.unlikely) -> set_reset_devices (section: .init.text)
WARNING: modpost: vmlinux: section mismatch in reference: __trace_event_discard_commit+0x43c (section: .text.unlikely) -> initcall_level_names (section: .init.data)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki