[PATCH][next] kernel/user.c: Fix spelling mistake "cpunter" -> "counter"

From: Colin King
Date: Wed Aug 04 2021 - 08:07:04 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
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