Skip to contentSkip to conversation

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

DISCUSSION kernel test robot 1 participant 1 message Dec 3 Memory management

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

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/[email protected]/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/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

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)

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki