rust/kernel/auxiliary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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>
---
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
On Tue, Sep 16, 2025 at 12:41:02PM +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> > --- > 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 > > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot
On Tue, Sep 16, 2025 at 12:41:02PM +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> > --- > 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 > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot
© 2016 - 2025 Red Hat, Inc.