[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DFF21ZKK0HMP.1EQOINQHK615O@kernel.org>
Date: Sat, 03 Jan 2026 16:22:03 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Marko Turk" <mt@...koturk.info>
Cc: <dirk.behme@...bosch.com>, <linux-pci@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <rust-for-linux@...r.kernel.org>
Subject: Re: [PATCH 1/2] rust: io: fix Bar reference in Io struct's comment
On Sat Jan 3, 2026 at 3:31 PM CET, Marko Turk wrote:
> Bar was moved to a separate pci::io module, update the reference to it.
>
> Signed-off-by: Marko Turk <mt@...koturk.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..08853f32dae6 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::io::Bar`] for a real example.
pci::io::Bar is re-exported as pci::Bar [1], so this should be fine. Given that
it is not a doc-comment the reference also doesn't do anything. We could remove
the square brackets accordingly.
[1] https://rust.docs.kernel.org/src/kernel/pci.rs.html#43
Powered by blists - more mailing lists