Skip to contentSkip to conversation

KVM: arm64: fix typo

PATCH In review Jun Miao 2 participants 2 messages May 26, 2023

Subsystems (2)
lore
Share & tools
lore

Jun Miao

author
#0 lore raw

PATCH 1/1 KVM: arm64: fix typo

Change "begining" to "beginning"

Fixes 8e6bcc3a4502 ("KVM: arm64: Back the hypervisor 'struct hyp_page' array for all memory")
---
 arch/arm64/kvm/hyp/nvhe/mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kvm/hyp/nvhe/mm.c +1 -1
index 318298eb3d6b..f16d9f38bb48 100644
@@ -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.
 		 */
Signature · 1 line
2.32.0
#1 lore raw

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()

Quoted 3 lines · Jun Miao

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.

Quoted 22 lines
---
 arch/arm64/kvm/hyp/nvhe/mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kvm/hyp/nvhe/mm.c +1 -1
index 318298eb3d6b..f16d9f38bb48 100644
@@ -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.
 		 */
Signature · 1 line
2.32.0
Signature · 2 lines
Thanks,
Oliver