[PATCH] Fixed "initialialized" typo in auxiliary.rs

JaimeF posted 1 patch 2 weeks, 2 days ago
There is a newer version of this series
rust/kernel/auxiliary.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] Fixed "initialialized" typo in auxiliary.rs
Posted by JaimeF 2 weeks, 2 days ago
From: Jaime Fan <jaimefine6@gmail.com>

Suggested-by: onur-ozkan <contact@onurozkan.dev>
Link: https://github.com/Rust-for-Linux/linux/issues/1187
Signed-off-by: Jaime F <jaimefine6@gmail.com>
---
 rust/kernel/auxiliary.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rust/kernel/auxiliary.rs b/rust/kernel/auxiliary.rs
index 58be09871..129eae8ff 100644
--- a/rust/kernel/auxiliary.rs
+++ b/rust/kernel/auxiliary.rs
@@ -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));
-- 
2.50.1
Re: [PATCH] Fixed "initialialized" typo in auxiliary.rs
Posted by Greg KH 2 weeks, 1 day ago
On Tue, Sep 16, 2025 at 10:38:38AM +0000, JaimeF wrote:
> From: Jaime Fan <jaimefine6@gmail.com>
> 
> Suggested-by: onur-ozkan <contact@onurozkan.dev>
> Link: https://github.com/Rust-for-Linux/linux/issues/1187
> Signed-off-by: Jaime F <jaimefine6@gmail.com>

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
Re: [PATCH] Fixed "initialialized" typo in auxiliary.rs
Posted by Onur 2 weeks, 2 days ago
On Tue, 16 Sep 2025 10:38:38 +0000
JaimeF <jaimefine6@gmail.com> wrote:

> From: Jaime Fan <jaimefine6@gmail.com>
> 
> Suggested-by: onur-ozkan <contact@onurozkan.dev>
> Link: https://github.com/Rust-for-Linux/linux/issues/1187
> Signed-off-by: Jaime F <jaimefine6@gmail.com>
> ---
>  rust/kernel/auxiliary.rs | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/rust/kernel/auxiliary.rs b/rust/kernel/auxiliary.rs
> index 58be09871..129eae8ff 100644
> --- a/rust/kernel/auxiliary.rs
> +++ b/rust/kernel/auxiliary.rs
> @@ -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));

Thank you for fixing this!

Can you please use work@onurozkan.dev address instead of
contact@onurozkan.dev for both cc-list and suggested-by tag ? I am
not using contact@..com for LKML.

-Onur