All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android13-5.10 1/1] arch/x86/kernel/static_call.c:19:17: warning: 'tramp_ud' defined but not used
@ 2026-09-19  8:28 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-19  8:28 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "extra build warning to Peter Zijlstra"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com

Hi Peter,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android13-5.10
head:   428b47f4651829663d19455bcf5132040b155e86
commit: 7723edf5edfdfdabd8234e45142be86598a04cad [1/1] x86,static_call: Use alternative RET encoding
:::::: branch date: 33 hours ago
:::::: commit date: 4 years, 2 months ago
config: i386-randconfig-r1307-20260917 (https://download.01.org/0day-ci/archive/20260919/202609191635.PJEhAHNl-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609191635.PJEhAHNl-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/r/202609191635.PJEhAHNl-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/static_call.c:19:17: warning: 'tramp_ud' defined but not used [-Wunused-const-variable=]
      19 | static const u8 tramp_ud[] = { 0x0f, 0xb9, 0xcc };
         |                 ^~~~~~~~


vim +/tramp_ud +19 arch/x86/kernel/static_call.c

452cddbff74b6a Peter Zijlstra 2020-08-18  13  
7723edf5edfdfd Peter Zijlstra 2022-06-14  14  /*
7723edf5edfdfd Peter Zijlstra 2022-06-14  15   * ud1 %esp, %ecx - a 3 byte #UD that is unique to trampolines, chosen such
7723edf5edfdfd Peter Zijlstra 2022-06-14  16   * that there is no false-positive trampoline identification while also being a
7723edf5edfdfd Peter Zijlstra 2022-06-14  17   * speculation stop.
7723edf5edfdfd Peter Zijlstra 2022-06-14  18   */
7723edf5edfdfd Peter Zijlstra 2022-06-14 @19  static const u8 tramp_ud[] = { 0x0f, 0xb9, 0xcc };
7723edf5edfdfd Peter Zijlstra 2022-06-14  20  

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [android-common:android13-5.10 1/1] arch/x86/kernel/static_call.c:19:17: warning: 'tramp_ud' defined but not used
@ 2026-09-19 10:46 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-19 10:46 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Peter,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android13-5.10
head:   428b47f4651829663d19455bcf5132040b155e86
commit: 7723edf5edfdfdabd8234e45142be86598a04cad [1/1] x86,static_call: Use alternative RET encoding
:::::: branch date: 33 hours ago
:::::: commit date: 4 years, 2 months ago
config: i386-randconfig-r1307-20260917 (https://download.01.org/0day-ci/archive/20260919/202609191635.PJEhAHNl-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609191635.PJEhAHNl-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/r/202609191635.PJEhAHNl-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/static_call.c:19:17: warning: 'tramp_ud' defined but not used [-Wunused-const-variable=]
      19 | static const u8 tramp_ud[] = { 0x0f, 0xb9, 0xcc };
         |                 ^~~~~~~~


vim +/tramp_ud +19 arch/x86/kernel/static_call.c

452cddbff74b6a Peter Zijlstra 2020-08-18  13  
7723edf5edfdfd Peter Zijlstra 2022-06-14  14  /*
7723edf5edfdfd Peter Zijlstra 2022-06-14  15   * ud1 %esp, %ecx - a 3 byte #UD that is unique to trampolines, chosen such
7723edf5edfdfd Peter Zijlstra 2022-06-14  16   * that there is no false-positive trampoline identification while also being a
7723edf5edfdfd Peter Zijlstra 2022-06-14  17   * speculation stop.
7723edf5edfdfd Peter Zijlstra 2022-06-14  18   */
7723edf5edfdfd Peter Zijlstra 2022-06-14 @19  static const u8 tramp_ud[] = { 0x0f, 0xb9, 0xcc };
7723edf5edfdfd Peter Zijlstra 2022-06-14  20  

--
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:[~2026-09-19 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19  8:28 [android-common:android13-5.10 1/1] arch/x86/kernel/static_call.c:19:17: warning: 'tramp_ud' defined but not used kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-09-19 10:46 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.