diff mbox series

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

Message ID 20200411023319.15078-1-ethp@qq.com (mailing list archive)
State New, archived
Headers show
Series mm: ksm: Fix a typo in comment "alreaady"->"already" | expand

Commit Message

Ethon Paul April 11, 2020, 2:33 a.m. UTC
There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
---
 mm/ksm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ethon Paul April 11, 2020, 2:35 a.m. UTC | #1
Sent the wrong patch version, please ignore it.

> There is a typo in comment, fix it.
>
> Signed-off-by: Ethon Paul <ethp@qq.com>
> ---
>   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);
diff mbox series

Patch

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);