]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: ccp - Use scoped guard for mutex
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 3 Dec 2024 16:22:57 +0000 (10:22 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 14 Dec 2024 09:21:43 +0000 (17:21 +0800)
commitf1e532d05aa615d7c9a6c430190261ca35c0367a
tree2febc6e3988b318cf1b4cf77bbb65c2c13f4d608
parent3382c44f0c6fb26469b1df75575643c68c421291
crypto: ccp - Use scoped guard for mutex

Use a scoped guard to simplify the cleanup handling.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/dbc.c