Linux s390 Architecture development
 help / color / mirror / Atom feed
* [kvms390:sae 23/43] arch/s390/kvm/arm64/mmu.c:76:23: warning: variable 'esr' set but not used
@ 2026-09-01 17:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-01 17:37 UTC (permalink / raw)
  To: Steffen Eiden
  Cc: oe-kbuild-all, linux-s390, Andreas Grapentin,
	Nina Schoetterl-Glausch, Gautam Gala

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git sae
head:   e3cbc45b3834d68c7e45ba1562f45af312c99d81
commit: ab80750cee6e09e0036ac43f257059122a05a71d [23/43] KVM: s390: arm64: Add KVM_S390_ARM64 Kconfig and Makefile
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20260902/202609020104.1kohlgzl-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609020104.1kohlgzl-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/202609020104.1kohlgzl-lkp@intel.com/

All warnings (new ones prefixed by >>):

   arch/s390/kvm/arm64/mmu.c: In function 'kvm_handle_guest_abort':
>> arch/s390/kvm/arm64/mmu.c:76:23: warning: variable 'esr' set but not used [-Wunused-but-set-variable=]
      76 |         unsigned long esr;
         |                       ^~~


vim +/esr +76 arch/s390/kvm/arm64/mmu.c

b6715b85f7e1318 Steffen Eiden 2026-04-02  70  
b6715b85f7e1318 Steffen Eiden 2026-04-02  71  int kvm_handle_guest_abort(struct kvm_vcpu *vcpu)
b6715b85f7e1318 Steffen Eiden 2026-04-02  72  {
b6715b85f7e1318 Steffen Eiden 2026-04-02  73  	struct kvm_memory_slot *memslot;
b6715b85f7e1318 Steffen Eiden 2026-04-02  74  	bool translation = false;
b6715b85f7e1318 Steffen Eiden 2026-04-02  75  	phys_addr_t fault_ipa;
b6715b85f7e1318 Steffen Eiden 2026-04-02 @76  	unsigned long esr;

:::::: The code at line 76 was first introduced by commit
:::::: b6715b85f7e131823057ea487cb4d9985427beec KVM: s390: arm64: Implement basic page fault handler

:::::: TO: Steffen Eiden <seiden@linux.ibm.com>
:::::: CC: Steffen Eiden <seiden@linux.ibm.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-01 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-01 17:37 [kvms390:sae 23/43] arch/s390/kvm/arm64/mmu.c:76:23: warning: variable 'esr' set but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox