Skip to contentSkip to conversation

powerpc: mm: book3s64: Fix a typo in the file mmu_context.c

PATCH Applied Bhaskar Chowdhury 3 participants 3 messages Mar 12, 2021 – Mar 31, 2021 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: mm: book3s64: Fix a typo in the file mmu_context.c

s/detalis/details/

---
 arch/powerpc/mm/book3s64/mmu_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/mm/book3s64/mmu_context.c +1 -1
index 0c8557220ae2..c10fc8a72fb3 100644
@@ -119,7 +119,7 @@ static int hash__init_new_context(struct mm_struct *mm)
 		/* This is fork. Copy hash_context details from current->mm */
 		memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context));
 #ifdef CONFIG_PPC_SUBPAGE_PROT
-		/* inherit subpage prot detalis if we have one. */
+		/* inherit subpage prot details if we have one. */
 		if (current->mm->context.hash_context->spt) {
 			mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table),
 								GFP_KERNEL);

--
2.26.2

Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Bhaskar Chowdhury

s/detalis/details/

Quoted 18 lines
---
 arch/powerpc/mm/book3s64/mmu_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/mm/book3s64/mmu_context.c +1 -2
index 0c8557220ae2..c10fc8a72fb3 100644
@@ -119,7 +119,7 @@ static int hash__init_new_context(struct mm_struct *mm)
 		/* This is fork. Copy hash_context details from current->mm */
 		memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context));
 #ifdef CONFIG_PPC_SUBPAGE_PROT
-		/* inherit subpage prot detalis if we have one. */
+		/* inherit subpage prot details if we have one. */
 		if (current->mm->context.hash_context->spt) {
 			mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table),
 								GFP_KERNEL);
--
Signature · 1 line
~Randy