Skip to contentSkip to conversation

irqchip: fix typos in comments

PATCH Applied Hemanth Selam 3 participants 3 messages Sep 7 – Nov 1

Subsystems (5)

v1 of 6 Applied 1/14 Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/14 irqchip: fix typos in comments

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/irqchip/irq-mtk-cirq.c    | 2 +-
 drivers/irqchip/irq-sifive-plic.c | 2 +-
 drivers/irqchip/irq-vic.c         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/irqchip/irq-mtk-cirq.c +1 -1
index 914d1d639fe3..d30c34ce0f56 100644
@@ -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
index 5b0dac104814..a7cddadddf40 100644
@@ -452,7 +452,7 @@ static irq_hw_number_t cp100_get_hwirq(struct plic_handler *handler, void __iome
 		return 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
index e38104c5064e..607e3284f700 100644
@@ -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
  */
reviewer
#1 lore raw
Quoted 11 lines · Hemanth Selam

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt.  Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5

---
 drivers/irqchip/irq-mtk-cirq.c    | 2 +-
 drivers/irqchip/irq-sifive-plic.c | 2 +-
 drivers/irqchip/irq-vic.c         | 2 +-

 3 files changed, 3 insertions(+), 3 deletions(-)

The changes look good, but in my opinion should be split into 3 different patches, one per driver, and grouped into a series. Not that it matters too much in this particular case (where only comments are touched), but it's common practice in the Linux kernel development.

There are multiple reasons. The main one is that different drivers can be reviewed/maintained by different people, and patches to them may be picked up via different (Git) maintainer trees. Also, some companies selectively port patches against specific drivers to the kernel trees they maintain.

Quoted 39 lines
drivers/irqchip/irq-mtk-cirq.c +0 -0
index 914d1d639fe3..d30c34ce0f56 100644
@@ -247,7 +247,7 @@ static int mtk_cirq_suspend(void *data)
  		writel_relaxed(mask, reg);
  	}

drivers/irqchip/irq-mtk-cirq.c +1 -1
-	/* 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 +0 -0
index 5b0dac104814..a7cddadddf40 100644
@@ -452,7 +452,7 @@ static irq_hw_number_t cp100_get_hwirq(struct plic_handler *handler, void __iome
  		return 0;


  /*

drivers/irqchip/irq-sifive-plic.c +1 -1
-	 * 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
index e38104c5064e..607e3284f700 100644
@@ -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
   */
#2 lore raw
In reply to Hemanth Selam
This patch was applied to riscv/linux.git (fixes) by Thomas Gleixner <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (fixes)
by Thomas Gleixner <[email protected]>:

Quoted 8 lines · On Mon, 7 Sep 2026 12:23:28 +0530 you wrote:

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5

[...]

Here is the summary with links:
- [02/14] irqchip: fix typos in comments

    https://git.kernel.org/riscv/c/726285316f8f

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html