# Re: \[PATCH 00/17\] Treewide: enforce static storage for object initializers

- From: Andrew Morton \<akpm@linux-foundation.org\>
- Date: 2026-09-15 06:14:21 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/09/17577402
- Thread: https://ratatoskr.run/linuxppc-dev/2026/09/17576885/t.md

```text
On Mon, 14 Sep 2026 23:03:18 -0400 Yury Norov [ref] wrote:

> Declaration macros that statically initialize embedded locks require static
> storage when lockdep is enabled. Automatic objects must use runtime
> initialization so lockdep receives a persistent class key.
> 
> For automatic local objects, lockdep cannot use the lock address as a persistent
> class key and reports "INFO: trying to register non-static key" before disabling
> itself.

So why haven't we been buried in reports about this warning coming out?

```
