rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] rust: auxiliary: fix "initialialized" typo
@ 2025-09-16 13:01 JaimeF
  2025-09-16 13:12 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: JaimeF @ 2025-09-16 13:01 UTC (permalink / raw)
  To: gregkh, ojeda, alex.gaynor
  Cc: david.m.ertman, ira.weiny, leon, boqun.feng, gary, bjorn3_gh,
	lossin, a.hindborg, aliceryhl, tmgross, dakr, rust-for-linux,
	linux-kernel, Jaime Fan, onur-ozkan

From: Jaime Fan <jaimefine6@gmail.com>

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

Suggested-by: onur-ozkan <work@onurozkan.dev>
Link: https://github.com/Rust-for-Linux/linux/issues/1187
Signed-off-by: Jaime Fan <jaimefine6@gmail.com>
---
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(-)

diff --git a/rust/kernel/auxiliary.rs b/rust/kernel/auxiliary.rs
index 58be09871397..129eae8ff2e7 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] rust: auxiliary: fix "initialialized" typo
  2025-09-16 13:01 [PATCH v2] rust: auxiliary: fix "initialialized" typo JaimeF
@ 2025-09-16 13:12 ` Greg KH
       [not found]   ` <CAL-mriJVF_rWw1QW-KkS0R8-hLEXFwDd7xXm083wT+VoNhF8Zg@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2025-09-16 13:12 UTC (permalink / raw)
  To: JaimeF
  Cc: ojeda, alex.gaynor, david.m.ertman, ira.weiny, leon, boqun.feng,
	gary, bjorn3_gh, lossin, a.hindborg, aliceryhl, tmgross, dakr,
	rust-for-linux, linux-kernel, onur-ozkan

On Tue, Sep 16, 2025 at 01:01:03PM +0000, JaimeF wrote:
> From: Jaime Fan <jaimefine6@gmail.com>
> 
> Fixes a spelling mistake in a comment: "initialialized" → "initialized".
> This improves clarity in the documentation and avoids confusion for readers.
> 
> Suggested-by: onur-ozkan <work@onurozkan.dev>
> Link: https://github.com/Rust-for-Linux/linux/issues/1187
> Signed-off-by: Jaime Fan <jaimefine6@gmail.com>
> ---
> 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 :(

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] rust: auxiliary: fix "initialialized" typo
       [not found]   ` <CAL-mriJVF_rWw1QW-KkS0R8-hLEXFwDd7xXm083wT+VoNhF8Zg@mail.gmail.com>
@ 2025-09-16 13:48     ` Miguel Ojeda
  0 siblings, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2025-09-16 13:48 UTC (permalink / raw)
  To: Jaime Fine
  Cc: Greg KH, ojeda, alex.gaynor, david.m.ertman, ira.weiny, leon,
	boqun.feng, gary, bjorn3_gh, lossin, a.hindborg, aliceryhl,
	tmgross, dakr, rust-for-linux, linux-kernel, onur-ozkan

On Tue, Sep 16, 2025 at 3:26 PM Jaime Fine <jaimefine6@gmail.com> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-16 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 13:01 [PATCH v2] rust: auxiliary: fix "initialialized" typo JaimeF
2025-09-16 13:12 ` Greg KH
     [not found]   ` <CAL-mriJVF_rWw1QW-KkS0R8-hLEXFwDd7xXm083wT+VoNhF8Zg@mail.gmail.com>
2025-09-16 13:48     ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).