KVM: PPC: BookE: Fix W=1 warnings
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 3 Apr 2023 04:46:36 +0000 (14:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 3 Apr 2023 04:54:20 +0000 (14:54 +1000)
commit43d05c6123ca1ace5982ca326c156502e735b7d5
tree1a786317f5cf03604ff2fc9689202a1df704060b
parent5f4f53d28cde2cc7be96f657229c8603da578500
KVM: PPC: BookE: Fix W=1 warnings

Fix various W=1 warnings in booke.c:

  arch/powerpc/kvm/booke.c:1008:5: error: no previous prototype for ‘kvmppc_handle_exit’ [-Werror=missing-prototypes]
   1008 | int kvmppc_handle_exit(struct kvm_vcpu *vcpu, unsigned int exit_nr)
        |     ^~~~~~~~~~~~~~~~~~
  arch/powerpc/kvm/booke.c:1009: warning: Function parameter or member 'vcpu' not described in 'kvmppc_handle_exit'
  arch/powerpc/kvm/booke.c:1009: warning: Function parameter or member 'exit_nr' not described in 'kvmppc_handle_exit'

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/202304020827.3LEZ86WB-lkp@intel.com/
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230403045314.3095410-1-mpe@ellerman.id.au
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke.h