Re: [PATCH 15/17] notifier: assert static storage for locking notifier heads

From: sashiko-bot

Date: Mon Sep 14 2026 - 23:28:21 EST


> Atomic, blocking and SRCU notifier head declarations statically initialize
> locks or SRCU state that require persistent lockdep class keys.
>
> Apply ASSERT_STATIC_STORAGE() to ATOMIC_NOTIFIER_HEAD(),
> BLOCKING_NOTIFIER_HEAD() and the common _SRCU_NOTIFIER_HEAD() wrapper,
> including both Tree SRCU and Tiny SRCU variants. Leave RAW_NOTIFIER_HEAD()
> unchanged because it has no such initialization requirement.
>
> Assisted-by: OpenAI Codex
> Signed-off-by: Yury Norov <ynorov@xxxxxxxxxx>

Sashiko has reviewed this patch and found no issues. It looks great!

--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915030336.1192299-1-ynorov@xxxxxxxxxx?part=15