* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` [not found] <20260603160910.159307-1-laniel_francis@privacyrequired.com> @ 2026-08-11 5:04 ` Uwe Kleine-König 2026-08-11 20:54 ` Konstantin Ryabitsev 2026-08-13 15:01 ` Francis Laniel 0 siblings, 2 replies; 8+ messages in thread From: Uwe Kleine-König @ 2026-08-11 5:04 UTC (permalink / raw) To: Francis Laniel Cc: Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools [-- Attachment #1: Type: text/plain, Size: 2963 bytes --] Hello, On Wed, Jun 03, 2026 at 07:09:09PM +0300, Francis Laniel wrote: > All types in `bindings` implement `Zeroable` if they can, so use > `pin_init::zeroed` instead of relying on `unsafe` code. > > If this ends up not compiling in the future, something in bindgen or on > the C side changed and is most likely incorrect. > > Suggested-by: Benno Lossin <lossin@kernel.org> > Link: https://github.com/Rust-for-Linux/linux/issues/1189 > Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> > Acked-by: Michal Wilczynski <m.wilczynski@samsung.com> > Signed-off-by: Francis Laniel <laniel_francis@privacyrequired.com> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next for the 7.3 merge window. b4 behaved strange on that patch: $ b4 am -s -l -t -3 20260603160910.159307-1-laniel_francis@privacyrequired.com Grabbing thread from lore.kernel.org/all/20260603160910.159307-1-laniel_francis@privacyrequired.com/t.mbox.gz Analyzing 2 messages in the thread Looking for additional code-review trailers on lore.kernel.org Analyzing 23 code-review messages Checking attestation on all messages, may take a moment... --- ✓ [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` + Link: https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com + Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org> --- ✓ Signed: DKIM/privacyrequired.com --- Total patches: 1 --- NOTE: some trailers ignored due to from/email mismatches: ! Trailer: Suggested-by: Benno Lossin <lossin@kernel.org> Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> ! Trailer: Acked-by: Michal Wilczynski <m.wilczynski@samsung.com> Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> ! Trailer: Signed-off-by: Francis Laniel <laniel_francis@privacyrequired.com> Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> ! Trailer: Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> NOTE: Rerun with -S to apply them anyway Preparing fake-am for v3: rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` range: 2707b9df955d..81c3f2b030a1 Preared a fake commit range for 3-way merge (2707b9df955d..81c3f2b030a1) --- Link: https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com Base: applies clean to current tree git checkout -b v3_20260603_laniel_francis_privacyrequired_com HEAD git am -3 ./v3_20260603_laniel_francis_rust_pwm_replace_core_mem_zeroed_with_pin_init_zeroed.mbx I didn't research what went wrong there and the trailer made it into the patch anyhow and adding -S doesn't change the patch. I added the tools@k.o mailing list to Cc:, maybe someone there wants to debug that. Best regards and thanks for your contribution, Uwe [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 5:04 ` [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` Uwe Kleine-König @ 2026-08-11 20:54 ` Konstantin Ryabitsev 2026-08-11 21:00 ` Miguel Ojeda 2026-08-11 22:56 ` Uwe Kleine-König 2026-08-13 15:01 ` Francis Laniel 1 sibling, 2 replies; 8+ messages in thread From: Konstantin Ryabitsev @ 2026-08-11 20:54 UTC (permalink / raw) To: Uwe Kleine-König Cc: Francis Laniel, Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools On Tue, Aug 11, 2026 at 07:04:49AM +0200, Uwe Kleine-König wrote: > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next > > for the 7.3 merge window. > > b4 behaved strange on that patch: > > $ b4 am -s -l -t -3 20260603160910.159307-1-laniel_francis@privacyrequired.com > Grabbing thread from lore.kernel.org/all/20260603160910.159307-1-laniel_francis@privacyrequired.com/t.mbox.gz > Analyzing 2 messages in the thread > Looking for additional code-review trailers on lore.kernel.org > Analyzing 23 code-review messages > Checking attestation on all messages, may take a moment... > --- > ✓ [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` > + Link: https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com > + Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org> > --- > ✓ Signed: DKIM/privacyrequired.com > --- > Total patches: 1 > --- > NOTE: some trailers ignored due to from/email mismatches: > ! Trailer: Suggested-by: Benno Lossin <lossin@kernel.org> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > ! Trailer: Acked-by: Michal Wilczynski <m.wilczynski@samsung.com> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > ! Trailer: Signed-off-by: Francis Laniel <laniel_francis@privacyrequired.com> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > ! Trailer: Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > NOTE: Rerun with -S to apply them anyway > Preparing fake-am for v3: rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` > range: 2707b9df955d..81c3f2b030a1 > Preared a fake commit range for 3-way merge (2707b9df955d..81c3f2b030a1) > --- > Link: https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com > Base: applies clean to current tree > git checkout -b v3_20260603_laniel_francis_privacyrequired_com HEAD > git am -3 ./v3_20260603_laniel_francis_rust_pwm_replace_core_mem_zeroed_with_pin_init_zeroed.mbx > > I didn't research what went wrong there and the trailer made it into the > patch anyhow and adding -S doesn't change the patch. I added the > tools@k.o mailing list to Cc:, maybe someone there wants to debug that. It was just Miguel responding with a suggestion how to better reorder trailers. Since we can't tell this case from the case when someone actually replies with a follow-up trailer, hence the error. I added a special case where we ignore trailers we find in the follow-up if these trailers already exist in the patch anyway, so, at least for this particular case, the problem shouldn't resurface. -K ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 20:54 ` Konstantin Ryabitsev @ 2026-08-11 21:00 ` Miguel Ojeda 2026-08-11 21:17 ` Konstantin Ryabitsev 2026-08-11 22:56 ` Uwe Kleine-König 1 sibling, 1 reply; 8+ messages in thread From: Miguel Ojeda @ 2026-08-11 21:00 UTC (permalink / raw) To: Konstantin Ryabitsev Cc: Uwe Kleine-König, Francis Laniel, Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools On Tue, Aug 11, 2026 at 10:54 PM Konstantin Ryabitsev <mricon@kernel.org> wrote: > > It was just Miguel responding with a suggestion how to better reorder > trailers. Since we can't tell this case from the case when someone actually > replies with a follow-up trailer, hence the error. > > I added a special case where we ignore trailers we find in the follow-up if > these trailers already exist in the patch anyway, so, at least for this > particular case, the problem shouldn't resurface. Hmm... I usually indent with 2 or 4 spaces my "non-tags" to distinguish them from actual tags; perhaps I should mark them differently? Is there a "standard" prefix to ignore them instead of several spaces? Thanks! Cheers, Miguel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 21:00 ` Miguel Ojeda @ 2026-08-11 21:17 ` Konstantin Ryabitsev 2026-08-11 22:13 ` Miguel Ojeda 0 siblings, 1 reply; 8+ messages in thread From: Konstantin Ryabitsev @ 2026-08-11 21:17 UTC (permalink / raw) To: Miguel Ojeda Cc: Uwe Kleine-König, Francis Laniel, Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools On Tue, Aug 11, 2026 at 11:00:54PM +0200, Miguel Ojeda wrote: > > I added a special case where we ignore trailers we find in the follow-up if > > these trailers already exist in the patch anyway, so, at least for this > > particular case, the problem shouldn't resurface. > > Hmm... I usually indent with 2 or 4 spaces my "non-tags" to > distinguish them from actual tags; perhaps I should mark them > differently? Is there a "standard" prefix to ignore them instead of > several spaces? Unfortunately, some prominent maintainers indent their code review trailers, which is why we have to pay attention to those. I generally recommend using "|" when adding trailers that aren't part of actual code review, e.g.: | Fixes: abcde12345 ("Foo bar baz") | Reviewed-by: Alex Dev <adev@example.com> These are guaranteed to be ignored. -K ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 21:17 ` Konstantin Ryabitsev @ 2026-08-11 22:13 ` Miguel Ojeda 0 siblings, 0 replies; 8+ messages in thread From: Miguel Ojeda @ 2026-08-11 22:13 UTC (permalink / raw) To: Konstantin Ryabitsev Cc: Uwe Kleine-König, Francis Laniel, Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools On Tue, Aug 11, 2026 at 11:17 PM Konstantin Ryabitsev <mricon@kernel.org> wrote: > > Unfortunately, some prominent maintainers indent their code review trailers, > which is why we have to pay attention to those. > > I generally recommend using "|" when adding trailers that aren't part of > actual code review, e.g.: > > | Fixes: abcde12345 ("Foo bar baz") > | Reviewed-by: Alex Dev <adev@example.com> > > These are guaranteed to be ignored. Sounds good, thanks! I will try to adapt :) Cheers, Miguel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 20:54 ` Konstantin Ryabitsev 2026-08-11 21:00 ` Miguel Ojeda @ 2026-08-11 22:56 ` Uwe Kleine-König 2026-08-11 23:01 ` Konstantin Ryabitsev 1 sibling, 1 reply; 8+ messages in thread From: Uwe Kleine-König @ 2026-08-11 22:56 UTC (permalink / raw) To: Konstantin Ryabitsev Cc: Francis Laniel, Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools [-- Attachment #1: Type: text/plain, Size: 832 bytes --] Hello Konstantin, On Tue, Aug 11, 2026 at 04:54:47PM -0400, Konstantin Ryabitsev wrote: > On Tue, Aug 11, 2026 at 07:04:49AM +0200, Uwe Kleine-König wrote: > > I didn't research what went wrong there and the trailer made it into the > > patch anyhow and adding -S doesn't change the patch. I added the > > tools@k.o mailing list to Cc:, maybe someone there wants to debug that. > > It was just Miguel responding with a suggestion how to better reorder > trailers. Since we can't tell this case from the case when someone actually > replies with a follow-up trailer, hence the error. The strange thing from my POV is that before your mail Miguel didn't participate in that thread according to https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com . I'm confused. Best regards Uwe [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 22:56 ` Uwe Kleine-König @ 2026-08-11 23:01 ` Konstantin Ryabitsev 0 siblings, 0 replies; 8+ messages in thread From: Konstantin Ryabitsev @ 2026-08-11 23:01 UTC (permalink / raw) To: Uwe Kleine-König Cc: Francis Laniel, Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools On Wed, Aug 12, 2026 at 12:56:05AM +0200, Uwe Kleine-König wrote: > On Tue, Aug 11, 2026 at 04:54:47PM -0400, Konstantin Ryabitsev wrote: > > On Tue, Aug 11, 2026 at 07:04:49AM +0200, Uwe Kleine-König wrote: > > > I didn't research what went wrong there and the trailer made it into the > > > patch anyhow and adding -S doesn't change the patch. I added the > > > tools@k.o mailing list to Cc:, maybe someone there wants to debug that. > > > > It was just Miguel responding with a suggestion how to better reorder > > trailers. Since we can't tell this case from the case when someone actually > > replies with a follow-up trailer, hence the error. > > The strange thing from my POV is that before your mail Miguel didn't > participate in that thread according to > https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com . > I'm confused. It came from v2 of the series and was carried over because the patch-id hasn't changed (meaning it's the same patch, so any code review trailers still apply). https://lore.kernel.org/all/CANiq72n+tyDcabpwZOR1gHb4mycbpTQbzr0QNgi9c48cSnrZ8w@mail.gmail.com/ -K ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` 2026-08-11 5:04 ` [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` Uwe Kleine-König 2026-08-11 20:54 ` Konstantin Ryabitsev @ 2026-08-13 15:01 ` Francis Laniel 1 sibling, 0 replies; 8+ messages in thread From: Francis Laniel @ 2026-08-13 15:01 UTC (permalink / raw) To: Uwe Kleine-König Cc: Michal Wilczynski, Miguel Ojeda, Benno Lossin, Gary Guo, Alexandre Courbot, Boqun Feng, Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich, linux-pwm, rust-for-linux, linux-kernel, tools Hi! Le mardi 11 août 2026, 08:04:49 heure d’été d’Europe de l’Est Uwe Kleine-König a écrit : > Hello, > > On Wed, Jun 03, 2026 at 07:09:09PM +0300, Francis Laniel wrote: > > All types in `bindings` implement `Zeroable` if they can, so use > > `pin_init::zeroed` instead of relying on `unsafe` code. > > > > If this ends up not compiling in the future, something in bindgen or on > > the C side changed and is most likely incorrect. > > > > Suggested-by: Benno Lossin <lossin@kernel.org> > > Link: https://github.com/Rust-for-Linux/linux/issues/1189 > > Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> > > Acked-by: Michal Wilczynski <m.wilczynski@samsung.com> > > Signed-off-by: Francis Laniel <laniel_francis@privacyrequired.com> > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next > > for the 7.3 merge window. Thank you for the merge! > > b4 behaved strange on that patch: > > $ b4 am -s -l -t -3 20260603160910.159307-1-laniel_francis@privacyrequired.com > Grabbing thread from lore.kernel.org/all/20260603160910.159307-1-laniel_francis@privacyrequired.com/t.mbox.gz > Analyzing 2 messages in the thread > Looking for additional code-review trailers on lore.kernel.org > Analyzing 23 code-review messages > Checking attestation on all messages, may take a moment... > --- > ✓ [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` > + Link: https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com > + Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org> > --- > ✓ Signed: DKIM/privacyrequired.com > --- > Total patches: 1 > --- > NOTE: some trailers ignored due to from/email mismatches: > ! Trailer: Suggested-by: Benno Lossin <lossin@kernel.org> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > ! Trailer: Acked-by: Michal Wilczynski <m.wilczynski@samsung.com> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > ! Trailer: Signed-off-by: Francis Laniel <laniel_francis@privacyrequired.com> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > ! Trailer: Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> > Msg From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > NOTE: Rerun with -S to apply them anyway > Preparing fake-am for v3: rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` > range: 2707b9df955d..81c3f2b030a1 > Preared a fake commit range for 3-way merge (2707b9df955d..81c3f2b030a1) > --- > Link: https://patch.msgid.link/20260603160910.159307-1-laniel_francis@privacyrequired.com > Base: applies clean to current tree > git checkout -b v3_20260603_laniel_francis_privacyrequired_com HEAD > git am -3 ./v3_20260603_laniel_francis_rust_pwm_replace_core_mem_zeroed_with_pin_init_zeroed.mbx > > I didn't research what went wrong there and the trailer made it into the > patch anyhow and adding -S doesn't change the patch. I added the > tools@k.o mailing list to Cc:, maybe someone there wants to debug that. > > Best regards and thanks for your contribution, > Uwe > Best regards, ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-08-13 15:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260603160910.159307-1-laniel_francis@privacyrequired.com>
2026-08-11 5:04 ` [PATCH v3] rust: pwm: replace `core::mem::zeroed` with `pin_init::zeroed` Uwe Kleine-König
2026-08-11 20:54 ` Konstantin Ryabitsev
2026-08-11 21:00 ` Miguel Ojeda
2026-08-11 21:17 ` Konstantin Ryabitsev
2026-08-11 22:13 ` Miguel Ojeda
2026-08-11 22:56 ` Uwe Kleine-König
2026-08-11 23:01 ` Konstantin Ryabitsev
2026-08-13 15:01 ` Francis Laniel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox