Re: [PATCH v2 2/2] rust: pin-init: internal: init: document load-bearing fact of field accessors

From: Benno Lossin

Date: Mon Mar 02 2026 - 09:56:42 EST


On Mon Mar 2, 2026 at 3:20 PM CET, Miguel Ojeda wrote:
> On Mon, Mar 2, 2026 at 3:14 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>>
>> Cc: stable@xxxxxxxxxxxxxxx # 6.12.y and 6.6.y: need commit 42415d163e5d ("rust: pin-init: add references to previously initialized fields")
>
> Yeah, something like that is what I would have probably written. The
> docs seem to suggest a format like this:
>
> Cc: <stable@xxxxxxxxxxxxxxx> # 6.6.y, 6.12.y: 42415d163e5d: rust:
> pin-init: add references to previously initialized fields
> Cc: <stable@xxxxxxxxxxxxxxx> # 6.6.y, 6.12.y, 6.18.y, 6.19.y
>
> i.e. first the prerequisite, then a line without it to indicate "this commit".

Yeah I saw that in the docs as well, but I thought that since the
cherry-pick wouldn't succeed (due to the syn rewrite). However, I wrote
that 6.18.y and 6.19.y applying the patch would succeed, but that's also
not true, there we also don't have the syn rewrite...

The two Cc lines you gave seem like the correct thing :)

So when you pick them, change the Cc's to that (unless I need a new
version of course).

Cheers,
Benno