Skip to contentSkip to conversation

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

PATCH In review Bhaskar Chowdhury 3 participants 3 messages Mar 24, 2021 – Apr 7, 2021 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

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

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

---
 arch/arc/kernel/signal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/kernel/signal.c +2 -2
index a78d8f745a67..cf1788fd3812 100644
@@ -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

_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Bhaskar Chowdhury

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

Quoted 27 lines
---
 arch/arc/kernel/signal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/kernel/signal.c +2 -3
index a78d8f745a67..cf1788fd3812 100644
@@ -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))
--
Signature · 7 lines
~Randy


_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
#2 lore raw
In reply to Bhaskar Chowdhury
Quoted 4 lines · Bhaskar Chowdhury

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

And this one too.

Thx,
-Vineet

Quoted 29 lines
---
  arch/arc/kernel/signal.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/kernel/signal.c +2 -3
index a78d8f745a67..cf1788fd3812 100644
@@ -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