2022-11-10 07:55:11

by Yu Zhe

[permalink] [raw]
Subject: [PATCH] pid: fix spelling mistake "alreay" -> "already"

There is a spelling mistake in comment. Fix it.

Signed-off-by: Yu Zhe <[email protected]>
---
kernel/pid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/pid.c b/kernel/pid.c
index 3fbc5e46b721..f68b9c5ee469 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -213,7 +213,7 @@ struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
tid + 1, GFP_ATOMIC);
/*
* If ENOSPC is returned it means that the PID is
- * alreay in use. Return EEXIST in that case.
+ * already in use. Return EEXIST in that case.
*/
if (nr == -ENOSPC)
nr = -EEXIST;
--
2.11.0