> Static work initializers use the work address as a lockdep class key and > mark the work item static for debugobjects. Automatic objects require > on-stack initialization instead. > > Apply ASSERT_STATIC_STORAGE() to DECLARE_WORK(), DECLARE_DELAYED_WORK() > and DECLARE_DEFERRABLE_WORK(). Automatic objects must use the matching > INIT_*_ONSTACK() API and destroy the on-stack debugobjects before leaving > scope. Keep the underlying initializers 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=11

