[PATCH] kernel:signal: Fix typo issue

From: Xiaofeng Cao
Date: Wed Mar 17 2021 - 04:48:04 EST


change 'situration' to 'situation'
change 'delievered' to 'delivered'
change 'overriden' to 'overridden'

Signed-off-by: Xiaofeng Cao <caoxiaofeng@xxxxxxxxxx>
---
kernel/signal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/signal.c b/kernel/signal.c
index ba4d1ef39a9e..2ab8ee48416d 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1499,7 +1499,7 @@ static inline bool kill_as_cred_perm(const struct cred *cred,
* There is nothing in the encoding that can allow
* copy_siginfo_to_user32 to detect this confusion of formats, so
* handle this by requiring the caller of kill_pid_usb_asyncio to
- * notice when this situration takes place and to store the 32bit
+ * notice when this situation takes place and to store the 32bit
* pointer in sival_int, instead of sival_addr of the sigval_t addr
* parameter.
*/
@@ -2170,7 +2170,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, kernel_siginfo_t

/*
* If @why is CLD_STOPPED, we're trapping to participate in a group
- * stop. Do the bookkeeping. Note that if SIGCONT was delievered
+ * stop. Do the bookkeeping. Note that if SIGCONT was delivered
* across siglock relocks since INTERRUPT was scheduled, PENDING
* could be clear now. We act as if SIGCONT is received after
* TASK_TRACED is entered - ignore it.
@@ -3280,7 +3280,7 @@ int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from)
*
* Note: This function does not work properly for the SIGCHLD on x32, but
* fortunately it doesn't have to. The only valid callers for this function are
- * copy_siginfo_to_user32, which is overriden for x32 and the coredump code.
+ * copy_siginfo_to_user32, which is overridden for x32 and the coredump code.
* The latter does not care because SIGCHLD will never cause a coredump.
*/
void copy_siginfo_to_external32(struct compat_siginfo *to,
--
2.25.1