Skip to contentSkip to conversation

rust: miscdevice: fix typo in MiscDevice::ioctl documentation

PATCH In review Christian Schrefl 4 participants 4 messages May 17, 2025 – May 20, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: miscdevice: fix typo in MiscDevice::ioctl documentation

Fixes one small typo (utilties to utilities) in the documentation of MiscDevice::ioctl.

Fixes f893691e7426 ("rust: miscdevice: add base miscdevice abstraction")

---
I've found this small typo while working on my miscdevice changes.

---
 rust/kernel/miscdevice.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/miscdevice.rs +1 -1
index fa9ecc42602a477328a25b5d357db90b59dc72ae..15d10e5c1db7da8f8686ed1c5d4174291231351b 100644
@@ -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,

Signature · 1 line
Christian Schrefl <[email protected]>
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Christian Schrefl

Fixes one small typo (utilties to utilities) in the documentation of MiscDevice::ioctl.

Fixes f893691e7426 ("rust: miscdevice: add base miscdevice abstraction")

---
I've found this small typo while working on my miscdevice changes.

---
 rust/kernel/miscdevice.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---
Cheers,
Benno