Re: [PATCH] rust: print: fix broken `_printk` Rustdoc link

From: Miguel Ojeda

Date: Fri Jul 17 2026 - 07:53:04 EST


On Fri, Jul 17, 2026 at 1:44 PM Younes Akhouayri via B4 Relay
<devnull+git.younes.io@xxxxxxxxxx> wrote:
>
> From: Younes Akhouayri <git@xxxxxxxxx>
>
> The Rustdoc link for `_printk` points to `include/linux/_printk.h`,
> which does not exist. Point it to `include/linux/printk.h`, where
> `_printk` is declared.
>
> Fixes: 247b365dc8dc ("rust: add `kernel` crate")
> Signed-off-by: Younes Akhouayri <git@xxxxxxxxx>

Looks good to me, thanks for reporting it and fixing it!

Link: https://github.com/Rust-for-Linux/linux/issues/1246

(Normally it would be Closes:, but there are two issues in the same
one, so we use Link: for that instead.)

Finally, given it is `doc(hidden)`, I will skip Cc: stable@ -- if the
stable team auto-selects it, it is fine.

Cheers,
Miguel