aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-04-23 08:18:44 -0500
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-04-29 17:47:41 +0300
commit690d722e02819ef978f90cd7553973eba1007e6c (patch)
tree414597ff882e5cc52ece7e9a67f4bad271e26fbc /scripts/lib/kdoc/kdoc_re.py
parentplatform/x86: ideapad-laptop: add support for some new buttons (diff)
downloadlinux-rng-690d722e02819ef978f90cd7553973eba1007e6c.tar.xz
linux-rng-690d722e02819ef978f90cd7553973eba1007e6c.zip
drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC Policies
If a policy is passed into amd_pmf_get_pb_data() that causes the engine to fail to start there is a memory leak. Free the memory in this failure path. Fixes: 10817f28e5337 ("platform/x86/amd/pmf: Add capability to sideload of policy binary") Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20250423132002.3984997-2-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/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions