Re: [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already"

From: Ralph Campbell
Date: Fri Apr 10 2020 - 15:25:18 EST



On 4/10/20 9:24 AM, Ethon Paul wrote:
There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@xxxxxx>

Reviewed-by: Ralph Campbell <rcampbell@xxxxxxxxxx>

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

---
mm/ksm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/ksm.c b/mm/ksm.c
index a558da9e7177..7ff8fc180a4b 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -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);