[PATCH][next] mm: Fix spelling mistake "commdandline" -> "commandline"

Colin Ian King posted 1 patch 1 year, 11 months ago
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] mm: Fix spelling mistake "commdandline" -> "commandline"
Posted by Colin Ian King 1 year, 11 months ago
There is a spelling mistake in a pr_warn_once message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 mm/memcontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 94d1b278c458..95c3fccb321b 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -8014,7 +8014,7 @@ static int __init setup_swap_account(char *s)
 	bool res;
 
 	if (!kstrtobool(s, &res) && !res)
-		pr_warn_once("The swapaccount=0 commdandline option is deprecated "
+		pr_warn_once("The swapaccount=0 commandline option is deprecated "
 			     "in favor of configuring swap control via cgroupfs. "
 			     "Please report your usecase to linux-mm@kvack.org if you "
 			     "depend on this functionality.\n");
-- 
2.39.2
Re: [PATCH][next] mm: Fix spelling mistake "commdandline" -> "commandline"
Posted by Johannes Weiner 1 year, 11 months ago
On Thu, Feb 15, 2024 at 09:05:44AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a pr_warn_once message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  mm/memcontrol.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> index 94d1b278c458..95c3fccb321b 100644
> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -8014,7 +8014,7 @@ static int __init setup_swap_account(char *s)
>  	bool res;
>  
>  	if (!kstrtobool(s, &res) && !res)
> -		pr_warn_once("The swapaccount=0 commdandline option is deprecated "
> +		pr_warn_once("The swapaccount=0 commandline option is deprecated "

Quality workmanship.

Thanks Colin ;)