public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Steffen Eiden <seiden@linux.ibm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-s390@vger.kernel.org, Andreas Grapentin <gra@linux.ibm.com>,
	"Nina Schoetterl-Glausch" <nsg@linux.ibm.com>,
	Gautam Gala <ggala@linux.ibm.com>
Subject: [kvms390:sae-part1 27/27] arch/s390/kvm/arm64/mmu.c:49:16: warning: variable 'esr' set but not used
Date: Sat, 18 Apr 2026 08:53:19 +0800	[thread overview]
Message-ID: <202604180812.3JWdnPro-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git sae-part1
head:   c8ef958593be02ec09131a1f5e2744a98b6c01a1
commit: c8ef958593be02ec09131a1f5e2744a98b6c01a1 [27/27] KVM: s390: arm64: Enable KVM_ARM64 config and Kbuild
config: s390-randconfig-001-20260418 (https://download.01.org/0day-ci/archive/20260418/202604180812.3JWdnPro-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260418/202604180812.3JWdnPro-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/202604180812.3JWdnPro-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/s390/kvm/arm64/mmu.c:49:16: warning: variable 'esr' set but not used [-Wunused-but-set-variable]
      49 |         unsigned long esr;
         |                       ^
   1 warning generated.


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

1afccc97efeb65f Steffen Eiden 2026-04-02  43  
1afccc97efeb65f Steffen Eiden 2026-04-02  44  int kvm_handle_guest_abort(struct kvm_vcpu *vcpu)
1afccc97efeb65f Steffen Eiden 2026-04-02  45  {
1afccc97efeb65f Steffen Eiden 2026-04-02  46  	struct kvm_memory_slot *memslot;
1afccc97efeb65f Steffen Eiden 2026-04-02  47  	bool translation = false;
1afccc97efeb65f Steffen Eiden 2026-04-02  48  	phys_addr_t fault_ipa;
1afccc97efeb65f Steffen Eiden 2026-04-02 @49  	unsigned long esr;

:::::: The code at line 49 was first introduced by commit
:::::: 1afccc97efeb65f95d4ed646a34bbd49616169e9 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

                 reply	other threads:[~2026-04-18  0:53 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=202604180812.3JWdnPro-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ggala@linux.ibm.com \
    --cc=gra@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=nsg@linux.ibm.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=seiden@linux.ibm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox