diff mbox series

arc/kernel/signal.c: Fix couple of typos

Message ID 20210324055213.26775-1-unixbhaskar@gmail.com
State New
Headers show
Series arc/kernel/signal.c: Fix couple of typos | expand

Commit Message

Bhaskar Chowdhury March 24, 2021, 5:52 a.m. UTC
s/unconditonally/unconditionally/
s/gaurantees/guarantees/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 arch/arc/kernel/signal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.30.1

Comments

Randy Dunlap March 24, 2021, 5:56 p.m. UTC | #1
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> 
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  arch/arc/kernel/signal.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
> index a78d8f745a67..cf1788fd3812 100644
> --- a/arch/arc/kernel/signal.c
> +++ b/arch/arc/kernel/signal.c
> @@ -259,7 +259,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
>  		regs->r2 = (unsigned long)&sf->uc;
> 
>  		/*
> -		 * small optim to avoid unconditonally calling do_sigaltstack
> +		 * small optim to avoid unconditionally calling do_sigaltstack
>  		 * in sigreturn path, now that we only have rt_sigreturn
>  		 */
>  		magic = MAGIC_SIGALTSTK;
> @@ -391,7 +391,7 @@ void do_signal(struct pt_regs *regs)
>  void do_notify_resume(struct pt_regs *regs)
>  {
>  	/*
> -	 * ASM glue gaurantees that this is only called when returning to
> +	 * ASM glue guarantees that this is only called when returning to
>  	 * user mode
>  	 */
>  	if (test_thread_flag(TIF_NOTIFY_RESUME))
> --
Vineet Gupta April 7, 2021, 8:22 p.m. UTC | #2
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

And this one too.

Thx,
-Vineet

> ---
>   arch/arc/kernel/signal.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
> index a78d8f745a67..cf1788fd3812 100644
> --- a/arch/arc/kernel/signal.c
> +++ b/arch/arc/kernel/signal.c
> @@ -259,7 +259,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
>   		regs->r2 = (unsigned long)&sf->uc;
>
>   		/*
> -		 * small optim to avoid unconditonally calling do_sigaltstack
> +		 * small optim to avoid unconditionally calling do_sigaltstack
>   		 * in sigreturn path, now that we only have rt_sigreturn
>   		 */
>   		magic = MAGIC_SIGALTSTK;
> @@ -391,7 +391,7 @@ void do_signal(struct pt_regs *regs)
>   void do_notify_resume(struct pt_regs *regs)
>   {
>   	/*
> -	 * ASM glue gaurantees that this is only called when returning to
> +	 * ASM glue guarantees that this is only called when returning to
>   	 * user mode
>   	 */
>   	if (test_thread_flag(TIF_NOTIFY_RESUME))
> --
> 2.30.1
>
diff mbox series

Patch

diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
index a78d8f745a67..cf1788fd3812 100644
--- a/arch/arc/kernel/signal.c
+++ b/arch/arc/kernel/signal.c
@@ -259,7 +259,7 @@  setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
 		regs->r2 = (unsigned long)&sf->uc;

 		/*
-		 * small optim to avoid unconditonally calling do_sigaltstack
+		 * small optim to avoid unconditionally calling do_sigaltstack
 		 * in sigreturn path, now that we only have rt_sigreturn
 		 */
 		magic = MAGIC_SIGALTSTK;
@@ -391,7 +391,7 @@  void do_signal(struct pt_regs *regs)
 void do_notify_resume(struct pt_regs *regs)
 {
 	/*
-	 * ASM glue gaurantees that this is only called when returning to
+	 * ASM glue guarantees that this is only called when returning to
 	 * user mode
 	 */
 	if (test_thread_flag(TIF_NOTIFY_RESUME))