2022-08-02 12:11:50

by Jason Wang

[permalink] [raw]
Subject: [PATCH] irqchip/mips-gic: Fix comment typo

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

Signed-off-by: Jason Wang <[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 1ba0f1555c80..1a6a7a672ad7 100644
--- a/drivers/irqchip/irq-mips-gic.c
+++ b/drivers/irqchip/irq-mips-gic.c
@@ -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) {
--
2.35.1



2022-08-27 13:58:18

by Serge Semin

[permalink] [raw]
Subject: Re: [PATCH] irqchip/mips-gic: Fix comment typo

On Wed, Aug 03, 2022 at 04:01:06AM +0800, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[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 1ba0f1555c80..1a6a7a672ad7 100644
> --- a/drivers/irqchip/irq-mips-gic.c
> +++ b/drivers/irqchip/irq-mips-gic.c
> @@ -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!

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

-Sergey

> * array in gic_all_vpes_irq_cpu_online() in sync.
> */
> switch (intr) {
> --
> 2.35.1
>

2022-09-07 15:41:57

by Serge Semin

[permalink] [raw]
Subject: Re: [PATCH] irqchip/mips-gic: Fix comment typo

On Wed, Aug 03, 2022 at 04:01:06AM +0800, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.

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

-Sergey

>
> Signed-off-by: Jason Wang <[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 1ba0f1555c80..1a6a7a672ad7 100644
> --- a/drivers/irqchip/irq-mips-gic.c
> +++ b/drivers/irqchip/irq-mips-gic.c
> @@ -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) {
> --
> 2.35.1
>