From: kernel test robot <lkp@intel.com>
To: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [lpieralisi:cca/temp-in-place-conversion 22/102] arch/arm64/kvm/rmi-exit.c:125:24: warning: variable 'index' set but not used
Date: Wed, 24 Jun 2026 08:08:14 +0800 [thread overview]
Message-ID: <202606240809.Rhtbtahg-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git cca/temp-in-place-conversion
head: 4095e546cca85e5558a35176ef689959971f7d70
commit: f736036d78bbb34392832ec05f7a41367239f7d0 [22/102] arm64: RMI: Handle realm enter/exit
config: arm64-randconfig-004-20260624 (https://download.01.org/0day-ci/archive/20260624/202606240809.Rhtbtahg-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project a9b492db3d50683e446cd1a5c9ffaf4e92cb77a7)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606240809.Rhtbtahg-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/202606240809.Rhtbtahg-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/arm64/kvm/rmi-exit.c:60:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
60 | [ESR_ELx_EC_SYS64] = rec_exit_sys_reg,
| ^~~~~~~~~~~~~~~~
arch/arm64/kvm/rmi-exit.c:59:27: note: previous initialization is here
59 | [0 ... ESR_ELx_EC_MAX] = rec_exit_reason_notimpl,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/rmi-exit.c:61:26: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
61 | [ESR_ELx_EC_DABT_LOW] = rec_exit_sync_dabt,
| ^~~~~~~~~~~~~~~~~~
arch/arm64/kvm/rmi-exit.c:59:27: note: previous initialization is here
59 | [0 ... ESR_ELx_EC_MAX] = rec_exit_reason_notimpl,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/rmi-exit.c:62:26: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
62 | [ESR_ELx_EC_IABT_LOW] = rec_exit_sync_iabt
| ^~~~~~~~~~~~~~~~~~
arch/arm64/kvm/rmi-exit.c:59:27: note: previous initialization is here
59 | [0 ... ESR_ELx_EC_MAX] = rec_exit_reason_notimpl,
| ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/rmi-exit.c:125:24: warning: variable 'index' set but not used [-Wunused-but-set-variable]
125 | unsigned long status, index;
| ^
4 warnings generated.
vim +/index +125 arch/arm64/kvm/rmi-exit.c
116
117 /*
118 * Return > 0 to return to guest, < 0 on error, 0 (and set exit_reason) on
119 * proper exit to userspace.
120 */
121 int handle_rec_exit(struct kvm_vcpu *vcpu, int rec_run_ret)
122 {
123 struct realm_rec *rec = &vcpu->arch.rec;
124 u8 esr_ec = ESR_ELx_EC(rec->run->exit.esr);
> 125 unsigned long status, index;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-24 0:09 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=202606240809.Rhtbtahg-lkp@intel.com \
--to=lkp@intel.com \
--cc=lpieralisi@kernel.org \
--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.