From: kernel test robot <lkp@intel.com>
To: Ackerley Tng <ackerleytng@google.com>
Cc: <oe-kbuild-all@lists.linux.dev>, 0day robot <lkp@intel.com>
Subject: x86/sev_smoke_test.c:231:13: warning: 'test_sev_smoke' defined but not used
Date: Thu, 14 May 2026 22:07:40 +0800 [thread overview]
Message-ID: <agXXLGCqNMLRT/Wj@rli9-mobl> (raw)
tree: https://github.com/intel-lab-lkp/linux/commits/Ackerley-Tng/KVM-selftests-Initialize-guest_memfd-with-INIT_SHARED/20260512-184801
head: bdb144cb86b6b1bf65cdbd4097bf557b940e24e4
commit: bdb144cb86b6b1bf65cdbd4097bf557b940e24e4 KVM: selftests: Test conversions for SNP
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260513/202605130053.LhXDf3Xj-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260513/202605130053.LhXDf3Xj-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/202605130053.LhXDf3Xj-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> x86/sev_smoke_test.c:231:13: warning: 'test_sev_smoke' defined but not used [-Wunused-function]
231 | static void test_sev_smoke(void *guest, u32 type, u64 policy)
| ^~~~~~~~~~~~~~
>> x86/sev_smoke_test.c:73:13: warning: 'guest_sev_code' defined but not used [-Wunused-function]
73 | static void guest_sev_code(void)
| ^~~~~~~~~~~~~~
>> x86/sev_smoke_test.c:43:13: warning: 'guest_snp_code' defined but not used [-Wunused-function]
43 | static void guest_snp_code(void)
| ^~~~~~~~~~~~~~
cc1: note: unrecognized command-line option '-Wno-gnu-variable-sized-type-not-at-end' may have been intended to silence earlier diagnostics
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-05-14 14:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-14 14:07 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-12 22:23 x86/sev_smoke_test.c:231:13: warning: 'test_sev_smoke' 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=agXXLGCqNMLRT/Wj@rli9-mobl \
--to=lkp@intel.com \
--cc=ackerleytng@google.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.