oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Reiji Watanabe <reijiw@google.com>, Marc Zyngier <maz@kernel.org>,
	Oliver Upton <oliver.upton@linux.dev>,
	kvmarm@lists.linux.dev
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	James Morse <james.morse@arm.com>,
	Alexandru Elisei <alexandru.elisei@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Ricardo Koller <ricarkol@google.com>,
	Jing Zhang <jingzhangos@google.com>,
	Raghavendra Rao Anata <rananta@google.com>,
	Shaoqin Huang <shahuang@redhat.com>,
	Reiji Watanabe <reijiw@google.com>
Subject: Re: [PATCH v4 03/14] KVM: arm64: PMU: Don't use the sanitized value for PMUVer
Date: Thu, 16 Feb 2023 19:30:09 +0800	[thread overview]
Message-ID: <202302161936.Uzpkezkn-lkp@intel.com> (raw)
In-Reply-To: <20230211031506.4159098-4-reijiw@google.com>

Hi Reiji,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on 4ec5183ec48656cec489c49f989c508b68b518e3]

url:    https://github.com/intel-lab-lkp/linux/commits/Reiji-Watanabe/KVM-arm64-PMU-Introduce-a-helper-to-set-the-guest-s-PMU/20230211-111929
base:   4ec5183ec48656cec489c49f989c508b68b518e3
patch link:    https://lore.kernel.org/r/20230211031506.4159098-4-reijiw%40google.com
patch subject: [PATCH v4 03/14] KVM: arm64: PMU: Don't use the sanitized value for PMUVer
config: arm64-randconfig-r032-20230213 (https://download.01.org/0day-ci/archive/20230216/202302161936.Uzpkezkn-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/intel-lab-lkp/linux/commit/29753380ce14f6aec0352bcc4762ba2514289849
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Reiji-Watanabe/KVM-arm64-PMU-Introduce-a-helper-to-set-the-guest-s-PMU/20230211-111929
        git checkout 29753380ce14f6aec0352bcc4762ba2514289849
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/ drivers/hte/ kernel/bpf/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302161936.Uzpkezkn-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/pmu-emul.c:1059:4: warning: no previous prototype for function 'kvm_arm_pmu_get_pmuver_limit' [-Wmissing-prototypes]
   u8 kvm_arm_pmu_get_pmuver_limit(void)
      ^
   arch/arm64/kvm/pmu-emul.c:1059:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   u8 kvm_arm_pmu_get_pmuver_limit(void)
   ^
   static 
   1 warning generated.


vim +/kvm_arm_pmu_get_pmuver_limit +1059 arch/arm64/kvm/pmu-emul.c

3d0dba5764b943 Marc Zyngier 2022-11-13  1058  
3d0dba5764b943 Marc Zyngier 2022-11-13 @1059  u8 kvm_arm_pmu_get_pmuver_limit(void)

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

           reply	other threads:[~2023-02-16 11:30 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230211031506.4159098-4-reijiw@google.com>]

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=202302161936.Uzpkezkn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexandru.elisei@arm.com \
    --cc=james.morse@arm.com \
    --cc=jingzhangos@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=llvm@lists.linux.dev \
    --cc=maz@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oliver.upton@linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=rananta@google.com \
    --cc=reijiw@google.com \
    --cc=ricarkol@google.com \
    --cc=shahuang@redhat.com \
    --cc=suzuki.poulose@arm.com \
    --cc=yuzenghui@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 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).