Skip to contentSkip to conversation

irqchip/mips-gic: Fix comment typo

PATCH In review Jason Wang 2 participants 3 messages Aug 2, 2022 – Sep 7, 2022

Subsystems (3)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 irqchip/mips-gic: Fix comment typo

The double `the' is duplicated in the comment, remove one.

---
 drivers/irqchip/irq-mips-gic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-mips-gic.c +1 -1
index 1ba0f1555c80..1a6a7a672ad7 100644
@@ -494,7 +494,7 @@ static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq,
 	map = GIC_MAP_PIN_MAP_TO_PIN | gic_cpu_pin;
 
 	/*
-	 * If adding support for more per-cpu interrupts, keep the the
+	 * If adding support for more per-cpu interrupts, keep the
 	 * array in gic_all_vpes_irq_cpu_online() in sync.
 	 */
 	switch (intr) {
Signature · 1 line
2.35.1
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Jason Wang

The double `the' is duplicated in the comment, remove one.

---
 drivers/irqchip/irq-mips-gic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-mips-gic.c +0 -0
index 1ba0f1555c80..1a6a7a672ad7 100644

drivers/irqchip/irq-mips-gic.c static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq, · line 498

Quoted 6 lines
drivers/irqchip/irq-mips-gic.c +1 -1
@@ -494,7 +494,7 @@ static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq,
 	map = GIC_MAP_PIN_MAP_TO_PIN | gic_cpu_pin;
 
 	/*
 
-	 * If adding support for more per-cpu interrupts, keep the the
+	 * If adding support for more per-cpu interrupts, keep the

Thanks!

-Sergey

Quoted 6 lines
drivers/irqchip/irq-mips-gic.c +0 -0
 	 * array in gic_all_vpes_irq_cpu_online() in sync.
 	 */

switch (intr) {

Signature · 1 line
2.35.1
Acked-by on v1 1/1
#2 lore raw
In reply to Jason Wang
Quoted 1 line · Jason Wang

The double `the' is duplicated in the comment, remove one.

Thanks.

-Sergey

Quoted 22 lines
---
 drivers/irqchip/irq-mips-gic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-mips-gic.c +1 -1
index 1ba0f1555c80..1a6a7a672ad7 100644
@@ -494,7 +494,7 @@ static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq,
 	map = GIC_MAP_PIN_MAP_TO_PIN | gic_cpu_pin;
 
 	/*
-	 * If adding support for more per-cpu interrupts, keep the the
+	 * If adding support for more per-cpu interrupts, keep the
 	 * array in gic_all_vpes_irq_cpu_online() in sync.
 	 */
 	switch (intr) {
Signature · 1 line
2.35.1