All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Steffen Eiden <seiden@linux.ibm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-s390@vger.kernel.org,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	Catalin Marinas <catalin.marinas@arm.com>
Subject: [kvms390:queue 24/24] arch/s390/kvm/arm64/arm.c:247:15-23: Unneeded variable: "features". Return "KVM_S390_ARM64_IMPL_FEATURES" on line 249
Date: Fri, 16 Oct 2026 00:45:32 +0200	[thread overview]
Message-ID: <202610160028.dMuOkORC-lkp@intel.com> (raw)

Hi Steffen,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git queue
head:   e93fb70b748982fda5e6d97721df35194cacfc4a
commit: e93fb70b748982fda5e6d97721df35194cacfc4a [24/24] arm64: Use proper include variant
config: s390-randconfig-r2105-20261015 (https://download.01.org/0day-ci/archive/20261016/202610160028.dMuOkORC-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)

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/202610160028.dMuOkORC-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> arch/s390/kvm/arm64/arm.c:247:15-23: Unneeded variable: "features". Return "KVM_S390_ARM64_IMPL_FEATURES" on line 249

vim +247 arch/s390/kvm/arm64/arm.c

761404d7acfe8c Steffen Eiden 2026-04-02  244  
761404d7acfe8c Steffen Eiden 2026-04-02  245  static unsigned long system_supported_vcpu_features(struct kvm_vcpu *vcpu)
761404d7acfe8c Steffen Eiden 2026-04-02  246  {
761404d7acfe8c Steffen Eiden 2026-04-02 @247  	unsigned long features = KVM_S390_ARM64_IMPL_FEATURES;
761404d7acfe8c Steffen Eiden 2026-04-02  248  
761404d7acfe8c Steffen Eiden 2026-04-02 @249  	return features;
761404d7acfe8c Steffen Eiden 2026-04-02  250  }
761404d7acfe8c Steffen Eiden 2026-04-02  251  

:::::: The code at line 247 was first introduced by commit
:::::: 761404d7acfe8c58f9bd938332c6cc9beed6bafd KVM: s390: Add basic arm64 kvm module

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

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

                 reply	other threads:[~2026-10-15 22:46 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=202610160028.dMuOkORC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-s390@vger.kernel.org \
    --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 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.