[PATCH] rust: miscdevice: fix typo in MiscDevice::ioctl documentation

Christian Schrefl posted 1 patch 7 months ago
rust/kernel/miscdevice.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rust: miscdevice: fix typo in MiscDevice::ioctl documentation
Posted by Christian Schrefl 7 months ago
Fixes one small typo (`utilties` to `utilities`) in the documentation of
`MiscDevice::ioctl`.

Fixes: f893691e7426 ("rust: miscdevice: add base miscdevice abstraction")
Signed-off-by: Christian Schrefl <chrisi.schrefl@gmail.com>
---
I've found this small typo while working on my `miscdevice` changes.
---
 rust/kernel/miscdevice.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/miscdevice.rs b/rust/kernel/miscdevice.rs
index fa9ecc42602a477328a25b5d357db90b59dc72ae..15d10e5c1db7da8f8686ed1c5d4174291231351b 100644
--- a/rust/kernel/miscdevice.rs
+++ b/rust/kernel/miscdevice.rs
@@ -121,7 +121,7 @@ fn release(device: Self::Ptr, _file: &File) {
 
     /// Handler for ioctls.
     ///
-    /// The `cmd` argument is usually manipulated using the utilties in [`kernel::ioctl`].
+    /// The `cmd` argument is usually manipulated using the utilities in [`kernel::ioctl`].
     ///
     /// [`kernel::ioctl`]: mod@crate::ioctl
     fn ioctl(

---
base-commit: edc5e6e019c99b529b3d1f2801d5cce9924ae79b
change-id: 20250517-rust_miscdevice_fix_typo-047a23956e09

Best regards,
-- 
Christian Schrefl <chrisi.schrefl@gmail.com>
Re: [PATCH] rust: miscdevice: fix typo in MiscDevice::ioctl documentation
Posted by Alice Ryhl 7 months ago
On Sat, May 17, 2025 at 01:06:15PM +0200, Christian Schrefl wrote:
> Fixes one small typo (`utilties` to `utilities`) in the documentation of
> `MiscDevice::ioctl`.
> 
> Fixes: f893691e7426 ("rust: miscdevice: add base miscdevice abstraction")
> Signed-off-by: Christian Schrefl <chrisi.schrefl@gmail.com>

Reviewed-by: Alice Ryhl <aliceryhl@google.com>

I guess this should go through Greg's tree?
Re: [PATCH] rust: miscdevice: fix typo in MiscDevice::ioctl documentation
Posted by Greg Kroah-Hartman 7 months ago
On Mon, May 19, 2025 at 06:09:10PM +0000, Alice Ryhl wrote:
> On Sat, May 17, 2025 at 01:06:15PM +0200, Christian Schrefl wrote:
> > Fixes one small typo (`utilties` to `utilities`) in the documentation of
> > `MiscDevice::ioctl`.
> > 
> > Fixes: f893691e7426 ("rust: miscdevice: add base miscdevice abstraction")
> > Signed-off-by: Christian Schrefl <chrisi.schrefl@gmail.com>
> 
> Reviewed-by: Alice Ryhl <aliceryhl@google.com>
> 
> I guess this should go through Greg's tree?

Sure, I'll take it later today, thanks.

greg k-h
Re: [PATCH] rust: miscdevice: fix typo in MiscDevice::ioctl documentation
Posted by Benno Lossin 7 months ago
On Sat May 17, 2025 at 1:06 PM CEST, Christian Schrefl wrote:
> Fixes one small typo (`utilties` to `utilities`) in the documentation of
> `MiscDevice::ioctl`.
>
> Fixes: f893691e7426 ("rust: miscdevice: add base miscdevice abstraction")
> Signed-off-by: Christian Schrefl <chrisi.schrefl@gmail.com>
> ---
> I've found this small typo while working on my `miscdevice` changes.
> ---
>  rust/kernel/miscdevice.rs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Benno Lossin <lossin@kernel.org>

---
Cheers,
Benno