diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2023-10-05 23:05:54 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-10-15 21:25:08 +0200 |
commit | a53d8cdd5a0aec75ae32badc2d8995c59ea6e3f0 (patch) | |
tree | 30eb2f3c71a8d7466ef7d1bae6e5bfe412399240 /include/asm-generic/fb.h | |
parent | c61bcc278b1924da13fd52edbd46b08a518c11ef (diff) |
rust: print: use explicit link in documentation
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@google.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Reviewed-by: Finn Behrens <me@kloenk.dev>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Link: https://lore.kernel.org/r/20231005210556.466856-3-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'include/asm-generic/fb.h')
0 files changed, 0 insertions, 0 deletions