All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] rust: io: remove square brackets from pci::Bar reference
@ 2026-01-05 21:37 Marko Turk
  2026-01-05 21:37 ` [PATCH v2 2/2] rust: pci: fix typos in Bar struct's comments Marko Turk
  2026-01-06 20:49 ` [PATCH v2 1/2] rust: io: remove square brackets from pci::Bar reference Danilo Krummrich
  0 siblings, 2 replies; 5+ messages in thread
From: Marko Turk @ 2026-01-05 21:37 UTC (permalink / raw)
  To: dakr, dirk.behme, linux-pci, linux-kernel, rust-for-linux, mt
  Cc: linux-pci, linux-kernel, rust-for-linux, Marko Turk

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-06 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 21:37 [PATCH v2 1/2] rust: io: remove square brackets from pci::Bar reference Marko Turk
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.