irqchip: fix repeated words in comments
Subsystems (6)
PATCH 10/14 irqchip: fix repeated words in comments
Drop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
--- drivers/irqchip/irq-al-fic.c | 2 +- drivers/irqchip/irq-gic-v3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/irq-al-fic.c +1 -1
@@ -180,7 +180,7 @@ static int al_fic_register(struct device_node *node,* @name: name of the fic * @parent_irq: interrupt of parent * -* This API will configure the fic hardware to to work in wire mode. +* This API will configure the fic hardware to work in wire mode. * In wire mode, fic hardware is generating a wire ("wired") interrupt. * Interrupt can be generated based on positive edge or level - configuration is * to be determined based on connected hardware to this fic.
drivers/irqchip/irq-gic-v3.c +1 -1
@@ -687,7 +687,7 @@ static void gic_eoimode1_eoi_irq(struct irq_data *d) {/* * No need to deactivate an LPI, or an interrupt that -* is is getting forwarded to a vcpu. +* is getting forwarded to a vcpu. */ if (irqd_to_hwirq (d) >=8192 ||irqd_is_forwarded_to_vcpu (d))return ;
[tip: irq/drivers] irqchip: Fix typos and repeated words in comments
The following commit has been merged into the irq/drivers branch of tip:
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 726285316f8fd8965d360ea6546da9b2677e7c7c Gitweb: https://git.kernel.org/tip/726285316f8fd8965d360ea6546da9b2677e7c7c Author: Hemanth Selam <[email protected]> AuthorDate: Mon, 07 Sep 2026 12:23:28 +05:30 Committer: Thomas Gleixner <[email protected]> CommitterDate: Mon, 07 Sep 2026 21:47:51 +02:00
irqchip: Fix typos and repeated words in comments
Fix typos and repeated words in comments as reported by scripts/checkpatch.pl.
[ tglx: Fold the two trivial patches ]
--- drivers/irqchip/irq-al-fic.c | 2 +- drivers/irqchip/irq-gic-v3.c | 2 +- drivers/irqchip/irq-mtk-cirq.c | 2 +- drivers/irqchip/irq-sifive-plic.c | 2 +- drivers/irqchip/irq-vic.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/irqchip/irq-al-fic.c +1 -1
@@ -180,7 +180,7 @@ err_domain_remove:* @name: name of the fic * @parent_irq: interrupt of parent * -* This API will configure the fic hardware to to work in wire mode. +* This API will configure the fic hardware to work in wire mode. * In wire mode, fic hardware is generating a wire ("wired") interrupt. * Interrupt can be generated based on positive edge or level - configuration is * to be determined based on connected hardware to this fic.
drivers/irqchip/irq-gic-v3.c +1 -1
@@ -687,7 +687,7 @@ static void gic_eoimode1_eoi_irq(struct irq_data *d) {/* * No need to deactivate an LPI, or an interrupt that -* is is getting forwarded to a vcpu. +* is getting forwarded to a vcpu. */ if (irqd_to_hwirq (d) >=8192 ||irqd_is_forwarded_to_vcpu (d))return ;
drivers/irqchip/irq-mtk-cirq.c +1 -1
@@ -247,7 +247,7 @@ static int mtk_cirq_suspend(void *data)writel_relaxed (mask, reg); } -/* set edge_only mode, record edge-triggerd interrupts */ +/* set edge_only mode, record edge-triggered interrupts */ /* enable cirq */ reg =mtk_cirq_reg (cirq_data,CIRQ_CONTROL ); value =readl_relaxed (reg);
drivers/irqchip/irq-sifive-plic.c +1 -1
@@ -452,7 +452,7 @@ static irq_hw_number_t cp100_get_hwirq(struct plic_handler *handler, void __iomereturn 0 ;/* -* Interrupts delievered to hardware still become pending, but only +* Interrupts delivered to hardware still become pending, but only * interrupts that are both pending and enabled can be claimed. * Clearing the enable bit for all interrupts but the first pending * one avoids a hardware bug that occurs during read from the claim
drivers/irqchip/irq-vic.c +1 -1
@@ -478,7 +478,7 @@ static void __init __vic_init(void __iomem *base, int parent_irq, int irq_start,/** * vic_init() - initialise a vectored interrupt controller * @base: iomem base address -* @irq_start: starting interrupt number, must be muliple of 32 +* @irq_start: starting interrupt number, must be multiple of 32 * @vic_sources: bitmask of interrupt sources to allow * @resume_sources: bitmask of interrupt sources to allow for resume */
Radu Rendec
reviewerQuoted 9 lines · Hemanth Selam
Drop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>---
drivers/irqchip/irq-al-fic.c | 2 +-
drivers/irqchip/irq-gic-v3.c | 2 +-2 files changed, 2 insertions(+), 2 deletions(-)
Same comment as before, for patch 02/14. I think this should be split into two patches in the same series.
Applying many patches is easy/cheap. Dealing with merge conflicts across different drivers when backporting patches, not so much.
Quoted 27 lines
drivers/irqchip/irq-al-fic.c +1
-1@@ -180,7 +180,7 @@ static int al_fic_register(struct device_node *node, * @name: name of the fic * @parent_irq: interrupt of parent * - * This API will configure the fic hardware to to work in wire mode. + * This API will configure the fic hardware to work in wire mode. * In wire mode, fic hardware is generating a wire ("wired") interrupt. * Interrupt can be generated based on positive edge or level - configuration is * to be determined based on connected hardware to this fic.drivers/irqchip/irq-gic-v3.c +1
-1@@ -687,7 +687,7 @@ static void gic_eoimode1_eoi_irq(struct irq_data *d) { /* * No need to deactivate an LPI, or an interrupt that - * is is getting forwarded to a vcpu. + * is getting forwarded to a vcpu. */ if (irqd_to_hwirq(d) >= 8192 || irqd_is_forwarded_to_vcpu(d)) return;