> DEFINE_SEQLOCK() statically initializes its sequence counter and spinlock. > Their lockdep maps require persistent class keys, which an automatic > local object cannot provide through this initializer. > > Add ASSERT_STATIC_STORAGE() to the declaration macro. Automatic seqlocks > must use seqlock_init(); the underlying initializer remains available for > embedded objects. > > Assisted-by: OpenAI Codex > Signed-off-by: Yury Norov <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=5

