All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel:signal: Fix typo issue
@ 2021-03-17  8:46 Xiaofeng Cao
  2021-03-17 17:47 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaofeng Cao @ 2021-03-17  8:46 UTC (permalink / raw)
  To: christian.brauner, axboe; +Cc: linux-kernel, Xiaofeng Cao

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

Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.com>
---
 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


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

* Re: [PATCH] kernel:signal: Fix typo issue
  2021-03-17  8:46 [PATCH] kernel:signal: Fix typo issue Xiaofeng Cao
@ 2021-03-17 17:47 ` Christian Brauner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2021-03-17 17:47 UTC (permalink / raw)
  To: Xiaofeng Cao; +Cc: axboe, linux-kernel, Xiaofeng Cao

On Wed, Mar 17, 2021 at 04:46:52PM +0800, Xiaofeng Cao wrote:
> change 'situration' to 'situation'
> change 'delievered' to 'delivered'
> change 'overriden' to 'overridden'
> 
> Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.com>
> ---

Thanks! (Self-detected or through some tool?)
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>

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

end of thread, other threads:[~2021-03-17 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17  8:46 [PATCH] kernel:signal: Fix typo issue Xiaofeng Cao
2021-03-17 17:47 ` Christian Brauner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.