This is a note to let you know that I've just added the patch titled rust: print: use explicit link in documentation to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: rust-print-use-explicit-link-in-documentation.patch and it can be found in the queue-6.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From a53d8cdd5a0aec75ae32badc2d8995c59ea6e3f0 Mon Sep 17 00:00:00 2001 From: Miguel Ojeda <ojeda@xxxxxxxxxx> Date: Thu, 5 Oct 2023 23:05:54 +0200 Subject: rust: print: use explicit link in documentation From: Miguel Ojeda <ojeda@xxxxxxxxxx> commit a53d8cdd5a0aec75ae32badc2d8995c59ea6e3f0 upstream. The future `rustdoc` in the Rust 1.73.0 upgrade requires an explicit link for `pr_info!`: error: unresolved link to `pr_info` --> rust/kernel/print.rs:395:63 | 395 | /// Use only when continuing a previous `pr_*!` macro (e.g. [`pr_info!`]). | ^^^^^^^^ no item named `pr_info` in scope | = note: `macro_rules` named `pr_info` exists in this crate, but it is not in scope at this link's location = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings` Thus do so to avoid a broken link while upgrading. Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx> Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@xxxxxxxxx> Reviewed-by: Finn Behrens <me@xxxxxxxxxx> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx> Link: https://lore.kernel.org/r/20231005210556.466856-3-ojeda@xxxxxxxxxx Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- rust/kernel/print.rs | 1 + 1 file changed, 1 insertion(+) --- a/rust/kernel/print.rs +++ b/rust/kernel/print.rs @@ -399,6 +399,7 @@ macro_rules! pr_debug ( /// Mimics the interface of [`std::print!`]. See [`core::fmt`] and /// `alloc::format!` for information about the formatting syntax. /// +/// [`pr_info!`]: crate::pr_info! /// [`pr_cont`]: https://www.kernel.org/doc/html/latest/core-api/printk-basics.html#c.pr_cont /// [`std::print!`]: https://doc.rust-lang.org/std/macro.print.html /// Patches currently in stable-queue which might be from ojeda@xxxxxxxxxx are queue-6.6/rust-upgrade-to-rust-1.72.1.patch queue-6.6/rust-task-remove-redundant-explicit-link.patch queue-6.6/rust-upgrade-to-rust-1.73.0.patch queue-6.6/rust-arc-add-explicit-drop-around-box-from_raw.patch queue-6.6/rust-print-use-explicit-link-in-documentation.patch