rust: auxiliary: fix "initialialized" typo
Subsystems (2)
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
@@ -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
Greg KH
maintainerQuoted 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
Suggested-by onur-ozkan <[email protected]>Signed-off-by Jaime Fan <[email protected]>---
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
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