From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android17-6.18 2/2] arch/arm64/kvm/pkvm.c:70:3: warning: unused variable 'host_s2_mode'
Date: Tue, 31 Mar 2026 15:17:47 +0800 [thread overview]
Message-ID: <202603311525.cZcOlkBP-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android17-6.18
head: e11a237a359eaf99627d25e0c1f026d9a108cf96
commit: a834e9b6ddb8d401b3ded1fb0bf4906024f99228 [2/2] ANDROID: KVM: arm64: Add kvm-arm.host_s2 cmdline knob
config: arm64-randconfig-002-20260331 (https://download.01.org/0day-ci/archive/20260331/202603311525.cZcOlkBP-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603311525.cZcOlkBP-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/oe-kbuild-all/202603311525.cZcOlkBP-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/arm64/kvm/pkvm.c:1063:6: warning: variable 'pages' set but not used [-Wunused-but-set-variable]
1063 | u64 pages, nr_busy;
| ^
>> arch/arm64/kvm/pkvm.c:70:3: warning: unused variable 'host_s2_mode' [-Wunused-variable]
70 | } host_s2_mode;
| ^~~~~~~~~~~~
2 warnings generated.
vim +/host_s2_mode +70 arch/arm64/kvm/pkvm.c
66
67 static enum {
68 PKVM_HOST_S2_CMA,
69 PKVM_HOST_S2_CARVEOUT,
> 70 } host_s2_mode;
71
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-31 7:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202603311525.cZcOlkBP-lkp@intel.com \
--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.