irqchip: fix typos in comments
Subsystems (5)
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.
--- 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
@@ -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 11 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>---
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@@ -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@@ -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 claimdrivers/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 */
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.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>[...]
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