vmlinux.o: warning: objtool: cw1200_handle_pspoll.isra.0.cold+0x19: relocation to !ENDBR: cw1200_handle_pspoll.isra.0+0x172

From: kernel test robot
Date: Tue Aug 15 2023 - 15:25:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 91aa6c412d7f85e48aead7b00a7d9e91f5cf5863
commit: 0cae5ded535c3a80aed94f119bbd4ee3ae284a65 rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
date: 7 months ago
config: x86_64-randconfig-r011-20230815 (https://download.01.org/0day-ci/archive/20230816/202308160300.zefdv91N-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230816/202308160300.zefdv91N-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/202308160300.zefdv91N-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

vmlinux.o: warning: objtool: __ct_user_exit+0x3f: call to __kasan_check_write() leaves .noinstr.text section
vmlinux.o: warning: objtool: __ct_user_enter+0x5d: call to __kasan_check_write() leaves .noinstr.text section
vmlinux.o: warning: objtool: bnx2fc_interface_setup+0x100: relocation to !ENDBR: bnx2fc_interface_setup.cold+0x231
>> vmlinux.o: warning: objtool: cw1200_handle_pspoll.isra.0.cold+0x19: relocation to !ENDBR: cw1200_handle_pspoll.isra.0+0x172


objdump-func vmlinux.o cw1200_handle_pspoll.isra.0.cold:
0000 00000000003fef70 <cw1200_handle_pspoll.isra.0.cold>:
0000 3fef70: 49 63 d5 movslq %r13d,%rdx
0003 3fef73: be 01 00 00 00 mov $0x1,%esi
0008 3fef78: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 3fef7b: R_X86_64_32S .data+0x17d7a20
000f 3fef7f: e8 00 00 00 00 call 3fef84 <cw1200_handle_pspoll.isra.0.cold+0x14> 3fef80: R_X86_64_PLT32 __ubsan_handle_shift_out_of_bounds-0x4
0014 3fef84: e8 00 00 00 00 call 3fef89 <cw1200_handle_pspoll.isra.0.cold+0x19> 3fef85: R_X86_64_PLT32 debug_lockdep_rcu_enabled-0x4
0019 3fef89: 48 c7 c6 00 00 00 00 mov $0x0,%rsi 3fef8c: R_X86_64_32S .text+0x46ee322
0020 3fef90: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 3fef93: R_X86_64_32S rcu_lock_map
0027 3fef97: ff 0d 00 00 00 00 decl 0x0(%rip) # 3fef9d <cw1200_handle_pspoll.isra.0.cold+0x2d> 3fef99: R_X86_64_PC32 pcpu_hot+0x4
002d 3fef9d: e8 00 00 00 00 call 3fefa2 <cw1200_handle_pspoll.isra.0.cold+0x32> 3fef9e: R_X86_64_PLT32 lock_release-0x4
0032 3fefa2: e9 00 00 00 00 jmp 3fefa7 <tx_policy_get.constprop.0.cold> 3fefa3: R_X86_64_PC32 .text+0x46ee345

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