Skip to contentSkip to conversation

rust: irq: fix C header path in module docs

PATCH Applied Younes Akhouayri 3 participants 3 messages Jul 17 – Jul 21

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: irq: fix C header path in module docs

The IRQ module documentation displays include/linux/device.h, while the link points to include/linux/interrupt.h. The module wraps the IRQ registration interfaces declared in include/linux/interrupt.h, so fix the displayed header path.

Fixes 1f54d5e5cd2a ("rust: irq: add irq module")
---
 rust/kernel/irq.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/irq.rs +1 -1
index 20abd4056655..09ef1e7f853c 100644
@@ -8,7 +8,7 @@
 //! The current abstractions handle IRQ requests and handlers, i.e.: it allows
 //! drivers to register a handler for a given IRQ line.
 //!
-//! C header: [`include/linux/device.h`](srctree/include/linux/interrupt.h)
+//! C header: [`include/linux/interrupt.h`](srctree/include/linux/interrupt.h)
 
 /// Flags to be used when registering IRQ handlers.
 mod flags;

---
base-commit: 7059bdf4f04a3e14f4fafb3ac35fdca913e3e21a
change-id: 20260717-docs-irq-rustdoc-header-1e6395beaa3e

Best regards,

Signature · 1 line
Younes Akhouayri <[email protected]>
#1 lore raw
Quoted 11 lines · On Fri, Jul 17, 2026 at 3:27 PM Younes Akhouayri via B4 Relay…

From: Younes Akhouayri <[email protected]>

The IRQ module documentation displays include/linux/device.h, while the link points to include/linux/interrupt.h. The module wraps the IRQ registration interfaces declared in include/linux/interrupt.h, so fix the displayed header path.

Fixes 1f54d5e5cd2a ("rust: irq: add irq module")

Looks good, thanks for these, for adding the Link: for this one and for backlinking in the GitHub issue, I appreciate that!

Cheers,
Miguel

maintainer Applied
#2 lore raw
In reply to Younes Akhouayri
Quoted 1 line · Younes Akhouayri

[PATCH] rust: irq: fix C header path in module docs

Applied, thanks!

Branch: driver-core-testing
Tree: git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git

[1/1] rust: irq: fix C header path in module docs

      commit: 01899cb7b924

The patch will appear in the next linux-next integration (typically within 24 hours on weekdays).

The patch is in the driver-core-testing branch and will be promoted to driver-core-next after validation.