[PATCH v2] powerpc/mm: Fix typo in set_pte_at()

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3455d

3 messages, 3 authors, 2017-02-19 · open the first message on its own page

[PATCH v2] powerpc/mm: Fix typo in set_pte_at()

From: Gavin Shan <hidden>
Date: 2017-02-08 03:17:58

This fixes the typo about the _PAGE_PTE in set_pte_at() by changing
"tryint" to "trying to".

Signed-off-by: Gavin Shan <redacted>
---
v2: Removed "Fixes" tag
---
 arch/powerpc/mm/pgtable.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/powerpc/mm/pgtable.c b/arch/powerpc/mm/pgtable.c
index cb39c8b..a03ff3d 100644
--- a/arch/powerpc/mm/pgtable.c
+++ b/arch/powerpc/mm/pgtable.c
@@ -193,9 +193,7 @@ void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep,
 	 */
 	VM_WARN_ON(pte_present(*ptep) && !pte_protnone(*ptep));
 
-	/*
-	 * Add the pte bit when tryint set a pte
-	 */
+	/* Add the pte bit when trying to set a pte */
 	pte = __pte(pte_val(pte) | _PAGE_PTE);
 
 	/* Note: mm->context.id might not yet have been assigned as
-- 
2.7.4

Re: [PATCH v2] powerpc/mm: Fix typo in set_pte_at()

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-02-08 08:14:09

On Wed, Feb 08, 2017 at 02:16:50PM +1100, Gavin Shan wrote:
This fixes the typo about the _PAGE_PTE in set_pte_at() by changing
"tryint" to "trying to".

Signed-off-by: Gavin Shan <redacted>
---
v2: Removed "Fixes" tag
Not much to ack, but

Acked-by: Balbir Singh <bsingharora@gmail.com>

Re: [v2] powerpc/mm: Fix typo in set_pte_at()

From: Michael Ellerman <hidden>
Date: 2017-02-19 11:33:37

On Wed, 2017-02-08 at 03:16:50 UTC, Gavin Shan wrote:
This fixes the typo about the _PAGE_PTE in set_pte_at() by changing
"tryint" to "trying to".

Signed-off-by: Gavin Shan <redacted>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c618f6b188a9170f67e4abd478d250

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help