[PATCH] KVM: arm64: fix inject_fault.c kernel-doc warnings
Will Deacon
will at kernel.org
Fri Sep 18 09:39:51 EDT 2020
On Tue, Sep 15, 2020 at 03:21:52PM +0800, Tian Tao wrote:
> Fix kernel-doc warnings.
> arch/arm64/kvm/inject_fault.c:210: warning: Function parameter or member
> 'vcpu' not described in 'kvm_inject_undefined'
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
> ---
> arch/arm64/kvm/inject_fault.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/kvm/inject_fault.c b/arch/arm64/kvm/inject_fault.c
> index ebfdfc2..c90d144 100644
> --- a/arch/arm64/kvm/inject_fault.c
> +++ b/arch/arm64/kvm/inject_fault.c
> @@ -202,6 +202,7 @@ void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr)
>
> /**
> * kvm_inject_undefined - inject an undefined instruction into the guest
> + * @vcpu: The VCPU to receive the undefined instruction
Better as "The vCPU in which to inject the exception"
With that:
Acked-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list