summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-05-21 19:34:56 -0500
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-06-10 10:42:14 +0300
commit93103d56650d7a38ed37ba4041578310f82776ae (patch)
tree560f34d190d93eecf45d10614a970350e7a9b532 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentd9db3a941270d92bbd1a6a6b54a10324484f2f2d (diff)
platform/x86/amd: pmf: Prevent amd_pmf_tee_deinit() from running twice
If any of the tee init fails, pass up the errors and clear the tee_ctx pointer. This will prevent cleaning up multiple times. Fixes: ac052d8c08f9d ("platform/x86/amd/pmf: Add PMF TEE interface") Suggested-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20250512211154.2510397-3-superm1@kernel.org Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20250522003457.1516679-3-superm1@kernel.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions