2024-02-15 09:10:01

by Colin Ian King

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

There is a spelling mistake in a pr_warn_once message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
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 [email protected] if you "
"depend on this functionality.\n");
--
2.39.2



2024-02-15 11:03:54

by Johannes Weiner

[permalink] [raw]
Subject: Re: [PATCH][next] mm: Fix spelling mistake "commdandline" -> "commandline"

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 <[email protected]>
> ---
> 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 ;)