Re: [PATCH v3] block: assign caller-specific lockdep class to disk->open_mutex
From: Mark Brown
Date: Fri Jun 05 2026 - 11:18:13 EST
On Fri, Jun 05, 2026 at 02:03:22PM +0100, Mark Brown wrote:
> On Fri, Jun 05, 2026 at 02:40:24PM +0200, Miguel Ojeda wrote:
> > And, yeah, it is fragile... It is quite a complicated set of Kconfig
> > relationships, so years ago I also ended up in the same situation and
> > early on decided to add an explicit grep for `CONFIG_RUST=y` and
> > certain other bits that I wanted to ensure are in place after the
> > config phase.
>
> It looks like the breakage is due to 'depends on !RANDSTRUCT' because
> clang supports randstruct and allmodconfig defaults that to
> RANDSTRUCT_FULL. The fact that rust depends on !RANDSTRUCT but
> randstruct doesn't care about rust means that randstruct wins. I've got
> to say rust coverage seems more important than randstruct coverage for
> -next, others might have different opinions though!
I think I've got a fix which isn't too bad, I'll post it later today.
Attachment:
signature.asc
Description: PGP signature