[PATCH] KVM: arm64: fix typo

Oliver Upton oliver.upton at linux.dev
Fri May 26 01:35:17 PDT 2023


Hi Jun,

The shortlog is too vague. While typo fixes don't need to be
exhaustively described, 'Fix typo' doesn't give any indication as to
where it is.

  KVM: arm64: Fix comment typo in hyp_back_vmemmap()

On Fri, May 26, 2023 at 04:15:48PM +0800, Jun Miao wrote:
> Change "begining" to "beginning"
> 
> Fixes: 8e6bcc3a4502 ("KVM: arm64: Back the hypervisor 'struct hyp_page' array for all memory")

This is a misuse of the Fixes tag. A typo in a comment is not a bug.

> Signed-off-by: Jun Miao <jun.miao at intel.com>
> ---
>  arch/arm64/kvm/hyp/nvhe/mm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/kvm/hyp/nvhe/mm.c b/arch/arm64/kvm/hyp/nvhe/mm.c
> index 318298eb3d6b..f16d9f38bb48 100644
> --- a/arch/arm64/kvm/hyp/nvhe/mm.c
> +++ b/arch/arm64/kvm/hyp/nvhe/mm.c
> @@ -145,7 +145,7 @@ int hyp_back_vmemmap(phys_addr_t back)
>  		start = hyp_memory[i].base;
>  		start = ALIGN_DOWN((u64)hyp_phys_to_page(start), PAGE_SIZE);
>  		/*
> -		 * The begining of the hyp_vmemmap region for the current
> +		 * The beginning of the hyp_vmemmap region for the current
>  		 * memblock may already be backed by the page backing the end
>  		 * the previous region, so avoid mapping it twice.
>  		 */
> -- 
> 2.32.0
> 
> 

-- 
Thanks,
Oliver



More information about the linux-arm-kernel mailing list