2022-10-22 06:09:31

by wangjianli

[permalink] [raw]
Subject: [PATCH] drivers/irqchip: fix repeated words in comments

Delete the redundant word 'the'.

Signed-off-by: wangjianli <[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.36.1


2022-10-24 05:43:24

by Philippe Mathieu-Daudé

[permalink] [raw]
Subject: Re: [PATCH] drivers/irqchip: fix repeated words in comments

On 22/10/22 07:46, wangjianli wrote:
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/irqchip/irq-mips-gic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Subject: [irqchip: irq/irqchip-next] irqchip/mips-gic: Drop repeated word in comment

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: 915649da01de13961f9d6a891b6db5a6255ac0b2
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/915649da01de13961f9d6a891b6db5a6255ac0b2
Author: wangjianli <[email protected]>
AuthorDate: Sat, 22 Oct 2022 13:46:55 +08:00
Committer: Marc Zyngier <[email protected]>
CommitterDate: Sat, 26 Nov 2022 13:29:42

irqchip/mips-gic: Drop repeated word in comment

Delete the redundant word 'the'.

Signed-off-by: wangjianli <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[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 1ba0f15..1a6a7a6 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) {

2023-03-09 12:17:27

by Serge Semin

[permalink] [raw]
Subject: Re: [PATCH] drivers/irqchip: fix repeated words in comments

On Sat, Oct 22, 2022 at 01:46:55PM +0800, wangjianli wrote:
> Delete the redundant word 'the'.

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

-Serge(y)

>
> Signed-off-by: wangjianli <[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.36.1
>