[PATCH v3 08/15] arm64: kvm: Split hyp/switch.c to VHE/nVHE
maz at kernel.org
Thu Jun 25 04:16:03 EDT 2020
On 2020-06-25 06:03, kernel test robot wrote:
> Hi David,
> Thank you for the patch! Perhaps something to improve:
> [auto build test WARNING on linus/master]
> [also build test WARNING on v5.8-rc2 next-20200624]
> [cannot apply to kvmarm/next arm64/for-next/core
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use as documented in
> config: arm64-randconfig-r021-20200624 (attached as .config)
> compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project
> reproduce (this is a W=1 build):
> -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # install arm64 cross compiling tool for clang build
> # apt-get install binutils-aarch64-linux-gnu
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
> All warnings (new ones prefixed by >>):
>>> arch/arm64/kvm/hyp/nvhe/switch.c:244:28: warning: no previous
>>> prototype for function 'hyp_panic' [-Wmissing-prototypes]
> void __hyp_text __noreturn hyp_panic(struct kvm_cpu_context
I really wish we could turn these warnings off. They don't add much.
Or is there an annotation we could stick on the function (something
like __called_from_asm_please_leave_me_alone springs to mind...)?
Jazz is not dead. It just smells funny...
More information about the linux-arm-kernel