All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: <cros-kernel-buildreports@googlegroups.com>
Cc: <oe-kbuild-all@lists.linux.dev>
Subject: [android-common:android13-5.10 1/1] arch/x86/kernel/static_call.c:19:17: warning: 'tramp_ud' defined but not used
Date: Sat, 19 Sep 2026 18:46:56 +0800	[thread overview]
Message-ID: <aq5oIOUQJDUhgfvP@rli9-mobl> (raw)

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


             reply	other threads:[~2026-09-19 10:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-19 10:46 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aq5oIOUQJDUhgfvP@rli9-mobl \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.