Re: [PATCH v2 2/2] rust: sync: clean up LockClassKey and its docs

From: Tamir Duberstein

Date: Tue Jan 20 2026 - 16:05:50 EST


On Tue, Aug 12, 2025 at 12:10 PM Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
>
> On Tue, Aug 12, 2025 at 10:05:55AM +0200, Benno Lossin wrote:
> > On Mon Jul 28, 2025 at 11:42 AM CEST, Alice Ryhl wrote:
> > > Several aspects of the code and documentation for this type is
> > > incomplete. Also several things are hidden from the docs. Thus, clean it
> > > up and make it easier to read the rendered html docs.
> > >
> > > Reviewed-by: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>
> > > Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> >
> > Reviewed-by: Benno Lossin <lossin@xxxxxxxxxx>
> >
>
> Thanks! I'm going to apply your tag for v3 [1], and queue for v6.18.
>
> [1]: https://lore.kernel.org/rust-for-linux/20250811-lock-class-key-cleanup-v3-2-b12967ee1ca2@xxxxxxxxxx/

Hey Boqun, looks like this never made it to v6.18, and is instead
headed for v7.0.

This patch introduced an instance of `c_str!("...")` which is
problematic for the c-string migration. Are there any reasonable
options for fixing this before it goes into v7.0?