linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoffer Dall <christoffer.dall@linaro.org>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	Marc Zyngier <maz@kernel.org>,
	Jintack Lim <jintack.lim@linaro.org>
Subject: [arm-platforms:kvm-arm64/nv-5.16 42/71] arch/arm64/kvm/mmu.c:710: warning: expecting prototype for stage2_wp_range(). Prototype was for kvm_stage2_wp_range() instead
Date: Mon, 29 Nov 2021 02:16:30 +0800	[thread overview]
Message-ID: <202111290258.hT1o7tRq-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-5.16
head:   6162310e2419353608acd8f247bde3fc848d4f64
commit: 9ac2b1e89992029a4af24a4b95e05a401738eea3 [42/71] KVM: arm64: nv: Unmap/flush shadow stage 2 page tables
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20211129/202111290258.hT1o7tRq-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=9ac2b1e89992029a4af24a4b95e05a401738eea3
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms kvm-arm64/nv-5.16
        git checkout 9ac2b1e89992029a4af24a4b95e05a401738eea3
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   arch/arm64/kvm/mmu.c:178: warning: expecting prototype for kvm_unmap_stage2_range(). Prototype was for __unmap_stage2_range() instead
>> arch/arm64/kvm/mmu.c:710: warning: expecting prototype for stage2_wp_range(). Prototype was for kvm_stage2_wp_range() instead


vim +710 arch/arm64/kvm/mmu.c

d5d8184d35c990 arch/arm/kvm/mmu.c   Christoffer Dall 2013-01-20  702  
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  703  /**
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  704   * stage2_wp_range() - write protect stage2 memory region range
c9c0279cc02b4e arch/arm64/kvm/mmu.c Xiaofei Tan      2020-09-17  705   * @mmu:        The KVM stage-2 MMU pointer
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  706   * @addr:	Start address of range
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  707   * @end:	End address of range
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  708   */
9ac2b1e8999202 arch/arm64/kvm/mmu.c Christoffer Dall 2020-05-27  709  void kvm_stage2_wp_range(struct kvm_s2_mmu *mmu, phys_addr_t addr, phys_addr_t end)
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15 @710  {
cfb1a98de7a9aa arch/arm64/kvm/mmu.c Quentin Perret   2021-03-19  711  	struct kvm *kvm = kvm_s2_mmu_to_kvm(mmu);
cc38d61cace392 arch/arm64/kvm/mmu.c Quentin Perret   2020-09-11  712  	stage2_apply_range_resched(kvm, addr, end, kvm_pgtable_stage2_wrprotect);
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  713  }
c64735554c0aad arch/arm/kvm/mmu.c   Mario Smarduch   2015-01-15  714  

:::::: The code at line 710 was first introduced by commit
:::::: c64735554c0aad2dc83c737ecf4c32075bed57a4 KVM: arm: Add initial dirty page locking support

:::::: TO: Mario Smarduch <m.smarduch@samsung.com>
:::::: CC: Christoffer Dall <christoffer.dall@linaro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

                 reply	other threads:[~2021-11-28 18:18 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=202111290258.hT1o7tRq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christoffer.dall@linaro.org \
    --cc=jintack.lim@linaro.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).