All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, Xu Raoqing <xuraoqing@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:OLK-6.6 2667/2667] arch/arm64/kvm/arm.c:569:5: warning: no previous prototype for 'kvm_arch_rec_init'
Date: Tue, 12 Aug 2025 05:34:13 +0800	[thread overview]
Message-ID: <202508120550.HjIMCdCV-lkp@intel.com> (raw)

tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   a5185c1b0fd7a9b3ea9b6923d5bcedc7392c59b7
commit: fa36fa3469d2461c1887e823371059401941ae8a [2667/2667] CCA: Fix cca kabi conflict
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20250812/202508120550.HjIMCdCV-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250812/202508120550.HjIMCdCV-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/202508120550.HjIMCdCV-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/arm.c:569:5: warning: no previous prototype for 'kvm_arch_rec_init' [-Wmissing-prototypes]
     569 | int kvm_arch_rec_init(struct kvm_vcpu_arch *vcpu_arch)
         |     ^~~~~~~~~~~~~~~~~
   In file included from arch/arm64/kvm/arm.c:52:
   arch/arm64/kvm/hisilicon/hisi_virt.h:116:13: warning: 'hisi_ipiv_enable_per_vm' defined but not used [-Wunused-function]
     116 | static void hisi_ipiv_enable_per_vm(struct kvm_vcpu *vcpu) {}
         |             ^~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hisilicon/hisi_virt.h:112:13: warning: 'hisi_ipiv_supported_per_vm' defined but not used [-Wunused-function]
     112 | static bool hisi_ipiv_supported_per_vm(struct kvm_vcpu *vcpu)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/kvm_arch_rec_init +569 arch/arm64/kvm/arm.c

   568	
 > 569	int kvm_arch_rec_init(struct kvm_vcpu_arch *vcpu_arch)
   570	{
   571		struct realm_rec *rec;
   572	
   573		rec = kzalloc(sizeof(struct realm_rec), GFP_KERNEL_ACCOUNT);
   574		if (!rec)
   575			return -ENOMEM;
   576		rec->mpidr = INVALID_HWID;
   577		vcpu_arch->rec = rec;
   578		return 0;
   579	}
   580	

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

                 reply	other threads:[~2025-08-11 21:36 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=202508120550.HjIMCdCV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kernel@openeuler.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=xuraoqing@huawei.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.