]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: Use scoped init guard
authorMarco Elver <elver@google.com>
Mon, 19 Jan 2026 09:05:54 +0000 (10:05 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 28 Jan 2026 19:45:24 +0000 (20:45 +0100)
commitf39261f55b3ee58d85e96142763c25b945399b2f
treecc7d9514d10586b15cc844c75fa71b701795ff52
parentb7be9442a3758a27a4b09b75ad79f3626b16ec3d
crypto: Use scoped init guard

Convert lock initialization to scoped guarded initialization where
lock-guarded members are initialized in the same scope.

This ensures the context analysis treats the context as active during member
initialization. This is required to avoid errors once implicit context
assertion is removed.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260119094029.1344361-5-elver@google.com
crypto/crypto_engine.c
crypto/drbg.c