Re: [PATCH] arc/kernel/signal.c: Fix couple of typos

2021-04-07 Thread Vineet Gupta
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
>
> Signed-off-by: Bhaskar Chowdhury 

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)>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
>



Re: [PATCH] arc/kernel/signal.c: Fix couple of typos

2021-03-24 Thread Randy Dunlap
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> 
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
> 
> Signed-off-by: Bhaskar Chowdhury 

Acked-by: Randy Dunlap 

> ---
>  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)>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))
> --


-- 
~Randy



[PATCH] arc/kernel/signal.c: Fix couple of typos

2021-03-23 Thread Bhaskar Chowdhury


s/unconditonally/unconditionally/
s/gaurantees/guarantees/

Signed-off-by: Bhaskar Chowdhury 
---
 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)>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