Hi Bruce,

This patch from upstream can fix the following warning in kernel v5.15 for x86.
Though LKDTM is only used for testing and this issuse is not serious,
it is nice to fix.

Could you please help to merge?

root@intel-x86-64:~# insmod lkdtm.ko
 ------------[ cut here ]------------
 missing return thunk: 0xffffffffc03ee5b0-0xffffffffc03ee5b5: e9 00 00 00 00
 WARNING: CPU: 5 PID: 643 at arch/x86/kernel/alternative.c:557 
apply_returns+0x1c1/0x1f0
 Modules linked in:
 CPU: 5 PID: 643 Comm: insmod Not tainted 5.15.58-yocto-standard+ #1
 Hardware name: Supermicro SYS-5019A-FTN4/A2SDi-8C-HLN4F, BIOS 1.1c 06/25/2019
 RIP: 0010:apply_returns+0x1c1/0x1f0
 Call Trace:
  <TASK>
  ? apply_retpolines+0x61/0x140
  ? __this_cpu_preempt_check+0x20/0x20
  module_finalize+0x131/0x190
  load_module+0x4ee/0x870
  __do_sys_finit_module+0xb5/0x100
  __x64_sys_finit_module+0x18/0x20
  do_syscall_64+0x43/0x90
  entry_SYSCALL_64_after_hwframe+0x61/0xcb


Thanks,
Yongxin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11533): 
https://lists.yoctoproject.org/g/linux-yocto/message/11533
Mute This Topic: https://lists.yoctoproject.org/mt/92807689/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to