lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DFF23OTZRIDS.2PZIV7D8AHWFA@kernel.org>
Date: Sat, 03 Jan 2026 16:24:17 +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 2/2] rust: pci: fix typo in Bar struct's comment

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@...koturk.info>
> ---
>  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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ