2021-03-12 11:52:46

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] powerpc: mm: book3s64: Fix a typo in the file mmu_context.c


s/detalis/details/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
arch/powerpc/mm/book3s64/mmu_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/mm/book3s64/mmu_context.c b/arch/powerpc/mm/book3s64/mmu_context.c
index 0c8557220ae2..c10fc8a72fb3 100644
--- a/arch/powerpc/mm/book3s64/mmu_context.c
+++ b/arch/powerpc/mm/book3s64/mmu_context.c
@@ -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


2021-03-12 16:43:49

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] powerpc: mm: book3s64: Fix a typo in the file mmu_context.c

On 3/12/21 3:25 AM, Bhaskar Chowdhury wrote:
>
> s/detalis/details/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

> ---
> arch/powerpc/mm/book3s64/mmu_context.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/mm/book3s64/mmu_context.c b/arch/powerpc/mm/book3s64/mmu_context.c
> index 0c8557220ae2..c10fc8a72fb3 100644
> --- a/arch/powerpc/mm/book3s64/mmu_context.c
> +++ b/arch/powerpc/mm/book3s64/mmu_context.c
> @@ -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);
> --


--
~Randy

2021-03-31 01:14:17

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc: mm: book3s64: Fix a typo in the file mmu_context.c

On Fri, 12 Mar 2021 16:55:37 +0530, Bhaskar Chowdhury wrote:
> s/detalis/details/

Applied to powerpc/next.

[1/1] powerpc: mm: book3s64: Fix a typo in the file mmu_context.c
https://git.kernel.org/powerpc/c/7a7d744ffe87ae10ab98004d1a6ca1f691af58e1

cheers