2021-03-24 10:01:20

by Bhaskar Chowdhury

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


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

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
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


2021-03-25 03:21:23

by Randy Dunlap

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

On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
>
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

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


--
~Randy

2021-04-07 22:01:11

by Vineet Gupta

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

On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

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
>