> DEFINE_CTL_TABLE_POLL() statically initializes an embedded wait queue. > An automatic local poll object cannot provide the persistent lockdep > class key expected by its wait queue lock. > > Add ASSERT_STATIC_STORAGE() to reject automatic declarations while > preserving file-scope and static local definitions. Leave the underlying > initializer 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=17

