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

Younes Akhouayri via B4 Relay posted 1 patch 1 week ago
rust/kernel/irq.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rust: irq: fix C header path in module docs
Posted by Younes Akhouayri via B4 Relay 1 week ago
From: Younes Akhouayri <git@younes.io>

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")
Link: https://github.com/Rust-for-Linux/linux/issues/1246
Signed-off-by: Younes Akhouayri <git@younes.io>
---
 rust/kernel/irq.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/irq.rs b/rust/kernel/irq.rs
index 20abd4056655..09ef1e7f853c 100644
--- a/rust/kernel/irq.rs
+++ b/rust/kernel/irq.rs
@@ -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,
--  
Younes Akhouayri <git@younes.io>
Re: [PATCH] rust: irq: fix C header path in module docs
Posted by Danilo Krummrich 4 days, 4 hours ago
On Fri, 17 Jul 2026 15:26:46 +0200, Younes Akhouayri wrote:
> [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.
Re: [PATCH] rust: irq: fix C header path in module docs
Posted by Miguel Ojeda 1 week ago
On Fri, Jul 17, 2026 at 3:27 PM Younes Akhouayri via B4 Relay
<devnull+git.younes.io@kernel.org> wrote:
>
> From: Younes Akhouayri <git@younes.io>
>
> 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")
> Link: https://github.com/Rust-for-Linux/linux/issues/1246
> Signed-off-by: Younes Akhouayri <git@younes.io>

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

Cheers,
Miguel