lkml.org 
[lkml]   [2021]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:perf/core 12/17] arch/arm64/kvm/arm.c:499:15: warning: no previous prototype for 'kvm_arch_vcpu_get_ip'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
head: a9f4a6e92b3b319296fb078da2615f618f6cd80c
commit: e1bfc24577cc65c95dc519d7621a9c985b97e567 [12/17] KVM: Move x86's perf guest info callbacks to generic KVM
config: arm64-randconfig-r035-20211123 (https://download.01.org/0day-ci/archive/20211124/202111240411.iKbDg3oU-lkp@intel.com/config.gz)
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/tip/tip.git/commit/?id=e1bfc24577cc65c95dc519d7621a9c985b97e567
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip perf/core
git checkout e1bfc24577cc65c95dc519d7621a9c985b97e567
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64

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/arm.c:499:15: warning: no previous prototype for 'kvm_arch_vcpu_get_ip' [-Wmissing-prototypes]
499 | unsigned long kvm_arch_vcpu_get_ip(struct kvm_vcpu *vcpu)
| ^~~~~~~~~~~~~~~~~~~~


vim +/kvm_arch_vcpu_get_ip +499 arch/arm64/kvm/arm.c

498
> 499 unsigned long kvm_arch_vcpu_get_ip(struct kvm_vcpu *vcpu)
500 {
501 return *vcpu_pc(vcpu);
502 }
503

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

\
 
 \ /
  Last update: 2021-11-23 21:49    [W:0.024 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site