2022-08-11 15:49:42

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] irqchip/mips-gic: Fix typo in irq-mips-gic.c

Remove the rebundant word "the" in comments.

Signed-off-by: Shaomin Deng <[email protected]>
---
drivers/irqchip/irq-mips-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c
index ff89b36267dd..53daac318ccd 100644
--- a/drivers/irqchip/irq-mips-gic.c
+++ b/drivers/irqchip/irq-mips-gic.c
@@ -490,7 +490,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) {
--
2.35.1


2022-08-21 19:02:38

by Serge Semin

[permalink] [raw]
Subject: Re: [PATCH] irqchip/mips-gic: Fix typo in irq-mips-gic.c

On Thu, Aug 11, 2022 at 11:16:57AM -0400, Shaomin Deng wrote:
> Remove the rebundant word "the" in comments.

Right. Thanks.
Acked-by: Serge Semin <[email protected]>

-Sergey

>
> Signed-off-by: Shaomin Deng <[email protected]>
> ---
> drivers/irqchip/irq-mips-gic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c
> index ff89b36267dd..53daac318ccd 100644
> --- a/drivers/irqchip/irq-mips-gic.c
> +++ b/drivers/irqchip/irq-mips-gic.c
> @@ -490,7 +490,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) {
> --
> 2.35.1
>