Re: [PATCH 2/2] rust: pci: fix typo in Bar struct's comment

From: Danilo Krummrich
Date: Sat Jan 03 2026 - 10:24:38 EST


On Sat Jan 3, 2026 at 3:31 PM CET, Marko Turk wrote:
> inststance -> instance

It's trivial in this case, but we usually write at least something along the
lines of "Fix a typo in the doc-comment of the Bar structure: 'inststance ->
instance'."

Please also add a corresponding Fixes: tag.

> Signed-off-by: Marko Turk <mt@xxxxxxxxxxxxxx>
> ---
> rust/kernel/pci/io.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rust/kernel/pci/io.rs b/rust/kernel/pci/io.rs
> index 0d55c3139b6f..fba746c4dc5d 100644
> --- a/rust/kernel/pci/io.rs
> +++ b/rust/kernel/pci/io.rs
> @@ -20,7 +20,7 @@
> ///
> /// # Invariants
> ///
> -/// `Bar` always holds an `IoRaw` inststance that holds a valid pointer to the start of the I/O
> +/// `Bar` always holds an `IoRaw` instance that holds a valid pointer to the start of the I/O
> /// memory mapped PCI BAR and its size.
> pub struct Bar<const SIZE: usize = 0> {
> pdev: ARef<Device>,
> --
> 2.51.0