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

Vineet Gupta Vineet.Gupta1 at synopsys.com
Wed Apr 7 21:22:09 BST 2021


On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar at 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
>



More information about the linux-snps-arc mailing list