2020-11-04 23:06:25

by Ira Weiny

[permalink] [raw]
Subject: [PATCH] entry: Fix spelling/typo errors in irq entry code

From: Ira Weiny <[email protected]>

s/reguired/required/
s/Interupts/Interrupts/
s/quiescient/quiescent/
s/assemenbly/assembly/

Signed-off-by: Ira Weiny <[email protected]>
---
include/linux/entry-common.h | 4 ++--
kernel/entry/common.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index 1a128baf3628..66938121c4b1 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -415,7 +415,7 @@ void irqentry_exit_cond_resched(void);
* @state: Return value from matching call to irqentry_enter()
*
* Depending on the return target (kernel/user) this runs the necessary
- * preemption and work checks if possible and reguired and returns to
+ * preemption and work checks if possible and required and returns to
* the caller with interrupts disabled and no further work pending.
*
* This is the last action before returning to the low level ASM code which
@@ -438,7 +438,7 @@ irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs);
* @regs: Pointer to pt_regs (NMI entry regs)
* @irq_state: Return value from matching call to irqentry_nmi_enter()
*
- * Last action before returning to the low level assmenbly code.
+ * Last action before returning to the low level assmebly code.
*
* Counterpart to irqentry_nmi_enter().
*/
diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index bc75c114c1b3..fa17baadf63e 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -304,7 +304,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
* If this entry hit the idle task invoke rcu_irq_enter() whether
* RCU is watching or not.
*
- * Interupts can nest when the first interrupt invokes softirq
+ * Interrupts can nest when the first interrupt invokes softirq
* processing on return which enables interrupts.
*
* Scheduler ticks in the idle task can mark quiescent state and
@@ -315,7 +315,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
* interrupt to invoke rcu_irq_enter(). If that nested interrupt is
* the tick then rcu_flavor_sched_clock_irq() would wrongfully
* assume that it is the first interupt and eventually claim
- * quiescient state and end grace periods prematurely.
+ * quiescent state and end grace periods prematurely.
*
* Unconditionally invoke rcu_irq_enter() so RCU state stays
* consistent.
--
2.28.0.rc0.12.gb6a658bd00c9


Subject: [tip: core/entry] entry: Fix spelling/typo errors in irq entry code

The following commit has been merged into the core/entry branch of tip:

Commit-ID: 8ca2378089994a0508248230e1a1e75f73102d32
Gitweb: https://git.kernel.org/tip/8ca2378089994a0508248230e1a1e75f73102d32
Author: Ira Weiny <[email protected]>
AuthorDate: Wed, 04 Nov 2020 15:01:57 -08:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Sun, 15 Nov 2020 19:51:51 +01:00

entry: Fix spelling/typo errors in irq entry code

s/reguired/required/
s/Interupts/Interrupts/
s/quiescient/quiescent/
s/assemenbly/assembly/

Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]

---
include/linux/entry-common.h | 4 ++--
kernel/entry/common.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index 1a128ba..6693812 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -415,7 +415,7 @@ void irqentry_exit_cond_resched(void);
* @state: Return value from matching call to irqentry_enter()
*
* Depending on the return target (kernel/user) this runs the necessary
- * preemption and work checks if possible and reguired and returns to
+ * preemption and work checks if possible and required and returns to
* the caller with interrupts disabled and no further work pending.
*
* This is the last action before returning to the low level ASM code which
@@ -438,7 +438,7 @@ irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs);
* @regs: Pointer to pt_regs (NMI entry regs)
* @irq_state: Return value from matching call to irqentry_nmi_enter()
*
- * Last action before returning to the low level assmenbly code.
+ * Last action before returning to the low level assmebly code.
*
* Counterpart to irqentry_nmi_enter().
*/
diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index bc75c11..fa17baa 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -304,7 +304,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
* If this entry hit the idle task invoke rcu_irq_enter() whether
* RCU is watching or not.
*
- * Interupts can nest when the first interrupt invokes softirq
+ * Interrupts can nest when the first interrupt invokes softirq
* processing on return which enables interrupts.
*
* Scheduler ticks in the idle task can mark quiescent state and
@@ -315,7 +315,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
* interrupt to invoke rcu_irq_enter(). If that nested interrupt is
* the tick then rcu_flavor_sched_clock_irq() would wrongfully
* assume that it is the first interupt and eventually claim
- * quiescient state and end grace periods prematurely.
+ * quiescent state and end grace periods prematurely.
*
* Unconditionally invoke rcu_irq_enter() so RCU state stays
* consistent.

2020-11-15 19:25:28

by Joe Perches

[permalink] [raw]
Subject: Re: [tip: core/entry] entry: Fix spelling/typo errors in irq entry code

On Sun, 2020-11-15 at 18:56 +0000, tip-bot2 for Ira Weiny wrote:
> The following commit has been merged into the core/entry branch of tip:
[]
> s/assemenbly/assembly/
[]
> diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
[]
> @@ -438,7 +438,7 @@ irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs);
> ??* @regs: Pointer to pt_regs (NMI entry regs)
> ??* @irq_state: Return value from matching call to irqentry_nmi_enter()
> ??*
> - * Last action before returning to the low level assmenbly code.
> + * Last action before returning to the low level assmebly code.

Might want to fix that typo typo fix...


Subject: [tip: core/entry] entry: Fix spelling/typo errors in irq entry code

The following commit has been merged into the core/entry branch of tip:

Commit-ID: 78a56e0494ad29feccd4c54c2b5682721f8cb988
Gitweb: https://git.kernel.org/tip/78a56e0494ad29feccd4c54c2b5682721f8cb988
Author: Ira Weiny <[email protected]>
AuthorDate: Wed, 04 Nov 2020 15:01:57 -08:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Sun, 15 Nov 2020 23:54:00 +01:00

entry: Fix spelling/typo errors in irq entry code

s/reguired/required/
s/Interupts/Interrupts/
s/quiescient/quiescent/
s/assemenbly/assembly/

Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
include/linux/entry-common.h | 4 ++--
kernel/entry/common.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index 1a128ba..aab5490 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -415,7 +415,7 @@ void irqentry_exit_cond_resched(void);
* @state: Return value from matching call to irqentry_enter()
*
* Depending on the return target (kernel/user) this runs the necessary
- * preemption and work checks if possible and reguired and returns to
+ * preemption and work checks if possible and required and returns to
* the caller with interrupts disabled and no further work pending.
*
* This is the last action before returning to the low level ASM code which
@@ -438,7 +438,7 @@ irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs);
* @regs: Pointer to pt_regs (NMI entry regs)
* @irq_state: Return value from matching call to irqentry_nmi_enter()
*
- * Last action before returning to the low level assmenbly code.
+ * Last action before returning to the low level assembly code.
*
* Counterpart to irqentry_nmi_enter().
*/
diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index bc75c11..fa17baa 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -304,7 +304,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
* If this entry hit the idle task invoke rcu_irq_enter() whether
* RCU is watching or not.
*
- * Interupts can nest when the first interrupt invokes softirq
+ * Interrupts can nest when the first interrupt invokes softirq
* processing on return which enables interrupts.
*
* Scheduler ticks in the idle task can mark quiescent state and
@@ -315,7 +315,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
* interrupt to invoke rcu_irq_enter(). If that nested interrupt is
* the tick then rcu_flavor_sched_clock_irq() would wrongfully
* assume that it is the first interupt and eventually claim
- * quiescient state and end grace periods prematurely.
+ * quiescent state and end grace periods prematurely.
*
* Unconditionally invoke rcu_irq_enter() so RCU state stays
* consistent.

2020-11-16 01:17:00

by Thomas Gleixner

[permalink] [raw]
Subject: Re: [tip: core/entry] entry: Fix spelling/typo errors in irq entry code

On Sun, Nov 15 2020 at 11:08, Joe Perches wrote:

> On Sun, 2020-11-15 at 18:56 +0000, tip-bot2 for Ira Weiny wrote:
>> The following commit has been merged into the core/entry branch of tip:
> []
>> s/assemenbly/assembly/
> []
>> diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
> []
>> @@ -438,7 +438,7 @@ irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs);
>>   * @regs: Pointer to pt_regs (NMI entry regs)
>>   * @irq_state: Return value from matching call to irqentry_nmi_enter()
>>   *
>> - * Last action before returning to the low level assmenbly code.
>> + * Last action before returning to the low level assmebly code.
>
> Might want to fix that typo typo fix...

Bah ....