> DEFINE_RATELIMIT_STATE() uses a static raw spinlock initializer, which > requires a persistent object address for lockdep. Automatic objects must > use ratelimit_state_init(). > > Add ASSERT_STATIC_STORAGE() to the declaration and align the virtio tools > stub. The virtio tools use a private compiler.h, so provide the same > assertion helper and its unused attribute there as well. > > 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=14

