From: Marko Turk <mt@markoturk.info>
To: dakr@kernel.org, dirk.behme@de.bosch.com,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
rust-for-linux@vger.kernel.org, mt@markoturk.info
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
rust-for-linux@vger.kernel.org, Marko Turk <mt@markoturk.info>
Subject: [PATCH v2 1/2] rust: io: remove square brackets from pci::Bar reference
Date: Mon, 5 Jan 2026 22:37:42 +0100 [thread overview]
Message-ID: <20260105213726.73000-1-mt@markoturk.info> (raw)
Remove square brackets since this section is not a part of doc-comment
so the reference will not be converted to a link in the generated docs.
Fixes: ce30d94e6855 ("rust: add `io::{Io, IoRaw}` base types")
Suggested-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Marko Turk <mt@markoturk.info>
---
Changes since v1:
- pci::Bar is re-exported so no need to change this to pci::io::Bar
- instead removed the square brackets as suggested by Danilo
Link to v1: https://lore.kernel.org/lkml/20260103143119.96095-1-mt@markoturk.info/
rust/kernel/io.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/io.rs b/rust/kernel/io.rs
index 98e8b84e68d1..a97eb44a9a87 100644
--- a/rust/kernel/io.rs
+++ b/rust/kernel/io.rs
@@ -87,7 +87,7 @@ pub fn maxsize(&self) -> usize {
/// };
/// use core::ops::Deref;
///
-/// // See also [`pci::Bar`] for a real example.
+/// // See also `pci::Bar` for a real example.
/// struct IoMem<const SIZE: usize>(IoRaw<SIZE>);
///
/// impl<const SIZE: usize> IoMem<SIZE> {
--
2.51.0
next reply other threads:[~2026-01-05 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 21:37 Marko Turk [this message]
2026-01-05 21:37 ` [PATCH v2 2/2] rust: pci: fix typos in Bar struct's comments Marko Turk
2026-01-06 9:27 ` Dirk Behme
2026-01-06 20:30 ` Danilo Krummrich
2026-01-06 20:49 ` [PATCH v2 1/2] rust: io: remove square brackets from pci::Bar reference Danilo Krummrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260105213726.73000-1-mt@markoturk.info \
--to=mt@markoturk.info \
--cc=dakr@kernel.org \
--cc=dirk.behme@de.bosch.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rust-for-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®