linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] kernel/user.c: Fix spelling mistake "cpunter" -> "counter"
@ 2021-08-04 12:06 Colin King
  2021-08-04 13:35 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Colin King @ 2021-08-04 12:06 UTC (permalink / raw)
  To: Eric W . Biederman, Alexey Gladkov; +Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

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

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

diff --git a/kernel/user.c b/kernel/user.c
index a2673f940506..7fc40af8d8ac 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -223,7 +223,7 @@ static int __init uid_cache_init(void)
 		INIT_HLIST_HEAD(uidhash_table + n);
 
 	if (percpu_counter_init(&root_user.epoll_watches, 0, GFP_KERNEL))
-		panic("percpu cpunter alloc failed");
+		panic("percpu counter alloc failed");
 
 	/* Insert the root user immediately (init already runs as root) */
 	spin_lock_irq(&uidhash_lock);
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][next] kernel/user.c: Fix spelling mistake "cpunter" -> "counter"
  2021-08-04 12:06 [PATCH][next] kernel/user.c: Fix spelling mistake "cpunter" -> "counter" Colin King
@ 2021-08-04 13:35 ` Randy Dunlap
  2021-08-04 13:41   ` Colin Ian King
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-08-04 13:35 UTC (permalink / raw)
  To: Colin King, Eric W . Biederman, Alexey Gladkov
  Cc: kernel-janitors, linux-kernel

On 8/4/21 5:06 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in a panic message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   kernel/user.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/user.c b/kernel/user.c
> index a2673f940506..7fc40af8d8ac 100644
> --- a/kernel/user.c
> +++ b/kernel/user.c
> @@ -223,7 +223,7 @@ static int __init uid_cache_init(void)
>   		INIT_HLIST_HEAD(uidhash_table + n);
>   
>   	if (percpu_counter_init(&root_user.epoll_watches, 0, GFP_KERNEL))
> -		panic("percpu cpunter alloc failed");
> +		panic("percpu counter alloc failed");
>   
>   	/* Insert the root user immediately (init already runs as root) */
>   	spin_lock_irq(&uidhash_lock);
> 

Nick Piggin has reworded that panic message text in a patch
yesterday so this patch isn't needed.

https://lore.kernel.org/lkml/1628051945.fens3r99ox.astroid@bobo.none/


thanks.
-- 
~Randy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][next] kernel/user.c: Fix spelling mistake "cpunter" -> "counter"
  2021-08-04 13:35 ` Randy Dunlap
@ 2021-08-04 13:41   ` Colin Ian King
  0 siblings, 0 replies; 3+ messages in thread
From: Colin Ian King @ 2021-08-04 13:41 UTC (permalink / raw)
  To: Randy Dunlap, Eric W . Biederman, Alexey Gladkov
  Cc: kernel-janitors, linux-kernel

On 04/08/2021 14:35, Randy Dunlap wrote:
> On 8/4/21 5:06 AM, Colin King wrote:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> There is a spelling mistake in a panic message. Fix it.
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> ---
>>   kernel/user.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/kernel/user.c b/kernel/user.c
>> index a2673f940506..7fc40af8d8ac 100644
>> --- a/kernel/user.c
>> +++ b/kernel/user.c
>> @@ -223,7 +223,7 @@ static int __init uid_cache_init(void)
>>           INIT_HLIST_HEAD(uidhash_table + n);
>>         if (percpu_counter_init(&root_user.epoll_watches, 0, GFP_KERNEL))
>> -        panic("percpu cpunter alloc failed");
>> +        panic("percpu counter alloc failed");
>>         /* Insert the root user immediately (init already runs as
>> root) */
>>       spin_lock_irq(&uidhash_lock);
>>
> 
> Nick Piggin has reworded that panic message text in a patch
> yesterday so this patch isn't needed.

Fair enough. Thanks for the info.

> 
> https://lore.kernel.org/lkml/1628051945.fens3r99ox.astroid@bobo.none/
> 
> 
> thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-04 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 12:06 [PATCH][next] kernel/user.c: Fix spelling mistake "cpunter" -> "counter" Colin King
2021-08-04 13:35 ` Randy Dunlap
2021-08-04 13:41   ` Colin Ian King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).