On Tue, Sep 10, 2024 at 12:46 PM Boqun Feng boqun.feng@gmail.com wrote:
Fixes: 1fbde52bde73 ("rust: add `macros` crate") Cc: stable@vger.kernel.org # 6.6.x: be2ca1e03965: ("rust: types: Make Opaque::get const")
As Gary mentioned:
https://lore.kernel.org/stable/20240910105557.7ada99d1.gary@garyguo.net/
`Opaque` doesn't exist in 6.1. We could use `UnsafeCell` here to replace `Opaque`. I will send a backport patch later today if needed.
+1 -- Greg/Sasha: for context, this is the one I asked about using Option 3 since otherwise the list of cherry-picks for 6.1 would be quite long.
Boqun: yeah, if you want to send the targeted backport, then that would be great. Otherwise I will do it in a few days. Thanks!
Cheers, Miguel