2022-07-19 13:53:05

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 8a9efb6ae587..9464af4b53e7 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-07-19 14:50:41

by Marc Zyngier

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

On Sat, 16 Jul 2022 05:16:19 +0100,
Jason Wang <[email protected]> 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 8a9efb6ae587..9464af4b53e7 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) {

Please send those as a series, not as one patch every other day.

M.

--
Without deviation from the norm, progress is not possible.