]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: ccp - Factor out ring destroy handling to a helper
authorMario Limonciello (AMD) <superm1@kernel.org>
Fri, 16 Jan 2026 04:11:31 +0000 (22:11 -0600)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 21 Jan 2026 08:52:01 +0000 (10:52 +0200)
commitd95f87a65bce5f2f2a02ca6094ca4841d4073df3
tree17b786fe4141e9100384d791e60856471f858ee6
parent0ba2035026d0ab6c7c7e65ad8b418dc73d5700d9
crypto: ccp - Factor out ring destroy handling to a helper

The ring destroy command needs to be used in multiple places. Split
out the code to a helper.

Tested-by: Yijun Shen <Yijun.Shen@Dell.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://patch.msgid.link/20260116041132.153674-5-superm1@kernel.org
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/crypto/ccp/tee-dev.c