* [android-common:android14-5.15 3/4] arch/arm64/kvm/hyp/nvhe/psci-relay.c:34:5: warning: no previous prototype for function '__pkvm_register_psci_notifier'
@ 2023-02-14 6:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-14 6:16 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android14-5.15
head: 8e245b4c3a574fbb94b6b655f84e071febc147a6
commit: 7d67ca44dd4b17b36d9dd52e4613f608af3b16c8 [3/4] ANDROID: KVM: arm64: Notify pKVM modules of PSCI events
config: arm64-randconfig-r032-20230213 (https://download.01.org/0day-ci/archive/20230214/202302141400.MTCToNgy-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
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android14-5.15
git checkout 7d67ca44dd4b17b36d9dd52e4613f608af3b16c8
# 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/
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/202302141400.MTCToNgy-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/hyp/nvhe/psci-relay.c:34:5: warning: no previous prototype for function '__pkvm_register_psci_notifier' [-Wmissing-prototypes]
int __pkvm_register_psci_notifier(void (*cb)(enum pkvm_psci_notification, struct kvm_cpu_context *))
^
arch/arm64/kvm/hyp/nvhe/psci-relay.c:34:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __pkvm_register_psci_notifier(void (*cb)(enum pkvm_psci_notification, struct kvm_cpu_context *))
^
static
arch/arm64/kvm/hyp/nvhe/psci-relay.c:221:28: warning: no previous prototype for function 'kvm_host_psci_cpu_entry' [-Wmissing-prototypes]
asmlinkage void __noreturn kvm_host_psci_cpu_entry(bool is_cpu_on)
^
arch/arm64/kvm/hyp/nvhe/psci-relay.c:221:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void __noreturn kvm_host_psci_cpu_entry(bool is_cpu_on)
^
static
2 warnings generated.
vim +/__pkvm_register_psci_notifier +34 arch/arm64/kvm/hyp/nvhe/psci-relay.c
33
> 34 int __pkvm_register_psci_notifier(void (*cb)(enum pkvm_psci_notification, struct kvm_cpu_context *))
35 {
36 return cmpxchg(&pkvm_psci_notifier, NULL, cb) ? -EBUSY : 0;
37 }
38
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-14 6:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 6:16 [android-common:android14-5.15 3/4] arch/arm64/kvm/hyp/nvhe/psci-relay.c:34:5: warning: no previous prototype for function '__pkvm_register_psci_notifier' kernel test robot
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).