Fixed "initialialized" typo in auxiliary.rs
Subsystems (2)
PATCH 1/1 Fixed "initialialized" typo in auxiliary.rs
From: Jaime Fan <[email protected]>
Suggested-by onur-ozkan <[email protected]>
Signed-off-by Jaime F <[email protected]>
--- 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
Onur
reviewerQuoted 25 lines · On Tue, 16 Sep 2025 10:38:38 +0000 JaimeF <[email protected]> wrote:
From: Jaime Fan <[email protected]>
Suggested-by onur-ozkan <[email protected]>Signed-off-by Jaime F <[email protected]>--- rust/kernel/auxiliary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rust/kernel/auxiliary.rs +0
-0@@ -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 `structauxiliary_device`, which has
rust/kernel/auxiliary.rs +1
-1-// 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 toa
struct auxiliary_device,
rust/kernel/auxiliary.rs pub fn new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Res · line 328
Quoted 5 lines
rust/kernel/auxiliary.rs +1
-1-// which has been initialialized. +// which has been initialized. unsafe { bindings::auxiliary_device_uninit (adev) };return Err (Error ::from_errno (ret));
Thank you for fixing this!
Can you please use [email protected] address instead of [email protected] for both cc-list and suggested-by tag ? I am not using [email protected] for LKML.
-Onur
Greg KH
maintainerQuoted 5 lines · JaimeF
From: Jaime Fan <[email protected]>
Suggested-by onur-ozkan <[email protected]>Signed-off-by Jaime F <[email protected]>
This name did not match your From: line :(
Also, you need to provide some text in the changelog, I can not take "empty" changelogs, sorry.
thanks,
greg k-h