Skip to contentSkip to conversation

rust: auxiliary: fix "initialialized" typo

PATCH In review JaimeF 3 participants 3 messages Sep 16, 2025 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

JaimeF

author
#0 lore raw

PATCH v2 1/1 rust: auxiliary: fix "initialialized" typo

From: Jaime Fan <[email protected]>

Fixes a spelling mistake in a comment: "initialialized" → "initialized". This improves clarity in the documentation and avoids confusion for readers.

---
v2:
- Fixed Signed-off-by name to match From: line
- Added explanatory changelog paragraph before tags

 rust/kernel/auxiliary.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
rust/kernel/auxiliary.rs +2 -2
index 58be09871397..129eae8ff2e7 100644
@@ -317,12 +317,12 @@ pub fn new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Res
 
         // SAFETY:
         // - `adev` is guaranteed to be a valid pointer to a `struct auxiliary_device`, which has
-        //   been initialialized,
+        //   been initialized,
         // - `modname.as_char_ptr()` is a NULL terminated string.
         let ret = unsafe { bindings::__auxiliary_device_add(adev, modname.as_char_ptr()) };
         if ret != 0 {
             // SAFETY: `adev` is guaranteed to be a valid pointer to a `struct auxiliary_device`,
-            // which has been initialialized.
+            // which has been initialized.
             unsafe { bindings::auxiliary_device_uninit(adev) };
 
             return Err(Error::from_errno(ret));
Signature · 1 line
2.50.1
maintainer
#1 lore raw
Quoted 5 lines · JaimeF

From: Jaime Fan <[email protected]>

Fixes a spelling mistake in a comment: "initialialized" → "initialized". This improves clarity in the documentation and avoids confusion for readers.

Quoted 7 lines

---
v2:
- Fixed Signed-off-by name to match From: line
- Added explanatory changelog paragraph before tags

There has been way more than just 1 previous version of this patch submitted :(

A message that is not in the archive (sent off-list or not yet received): CAL-mriJVF_rWw1QW-KkS0R8-hLEXFwDd7xXm083wT+VoNhF8Zg@mail.gmail.com

#3 lore raw
Quoted 2 lines · Jaime Fine

Got it — I realize now that my earlier attempts (including the ones that failed due to formatting) probably all showed up in your inbox, so it looked like many more versions than I intended.

Yeah, every message goes into a lot of people -- we have almost 600 people in the rust-for-linux mailing list :)

Cheers,
Miguel