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

Message ID 20240215090544.1649201-1-colin.i.king@gmail.com
State New
Headers
Series [next] mm: Fix spelling mistake "commdandline" -> "commandline" |

Commit Message

Colin Ian King Feb. 15, 2024, 9:05 a.m. UTC
  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(-)
  

Comments

Johannes Weiner Feb. 15, 2024, 10:52 a.m. UTC | #1
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 ;)
  

Patch

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