Skip to contentSkip to conversation

mm: ksm: Fix a typo in comment "alreaady"->"already"

PATCH Applied Ethon Paul 2 participants 2 messages Apr 10, 2020

Subsystems (2)
lore
Share & tools
lore

Ethon Paul

author
#0 lore raw

PATCH 1/1 mm: ksm: Fix a typo in comment "alreaady"->"already"

There is a typo in comment, fix it.

---
 mm/ksm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/ksm.c +1 -1
index a558da9e7177..7ff8fc180a4b 100644
@@ -1148,7 +1148,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
 
 	/*
 	 * No need to check ksm_use_zero_pages here: we can only have a
-	 * zero_page here if ksm_use_zero_pages was enabled alreaady.
+	 * zero_page here if ksm_use_zero_pages was enabled already.
 	 */
 	if (!is_zero_pfn(page_to_pfn(kpage))) {
 		get_page(kpage);
Signature · 1 line
2.24.1 (Apple Git-126)
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Ethon Paul

There is a typo in comment, fix it.

Maybe also change line 615, 1846, s/wrprotected/write protected and line 2004, s/undeflow/underflow

Quoted 18 lines
---
  mm/ksm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
mm/ksm.c +1 -1
index a558da9e7177..7ff8fc180a4b 100644
@@ -1148,7 +1148,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
 
  	/*
  	 * No need to check ksm_use_zero_pages here: we can only have a
-	 * zero_page here if ksm_use_zero_pages was enabled alreaady.
+	 * zero_page here if ksm_use_zero_pages was enabled already.
  	 */
  	if (!is_zero_pfn(page_to_pfn(kpage))) {
  		get_page(kpage);