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

wangjianli posted 1 patch 3 years, 5 months ago
drivers/irqchip/irq-mips-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers/irqchip: fix repeated words in comments
Posted by wangjianli 3 years, 5 months ago
Delete the redundant word 'the'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 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
Re: [PATCH] drivers/irqchip: fix repeated words in comments
Posted by Serge Semin 3 years ago
On Sat, Oct 22, 2022 at 01:46:55PM +0800, wangjianli wrote:
> Delete the redundant word 'the'.

Thanks!
Acked-by: Serge Semin <fancer.lancer@gmail.com>

-Serge(y)

> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  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
>
Re: [PATCH] drivers/irqchip: fix repeated words in comments
Posted by Philippe Mathieu-Daudé 3 years, 5 months ago
On 22/10/22 07:46, wangjianli wrote:
> Delete the redundant word 'the'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>   drivers/irqchip/irq-mips-gic.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

[irqchip: irq/irqchip-next] irqchip/mips-gic: Drop repeated word in comment
Posted by irqchip-bot for wangjianli 3 years, 4 months ago
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 <wangjianli@cdjrlc.com>
AuthorDate:    Sat, 22 Oct 2022 13:46:55 +08:00
Committer:     Marc Zyngier <maz@kernel.org>
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 <wangjianli@cdjrlc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221022054655.36496-1-wangjianli@cdjrlc.com
---
 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) {