aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHarshit Mogalapalli <[email protected]>2024-02-26 06:40:10 -0800
committerHans de Goede <[email protected]>2024-03-05 10:17:07 +0100
commit0314cebb29be2f961abb37bd0b01cb16899868f2 (patch)
treed0a82e717a86b3e95154215dcfba0ce83a534aa1 /tools/perf/util/trace-event-scripting.c
parentaec7d25b497ce4a8d044e9496de0aa433f7f8f06 (diff)
platform/x86/amd/pmf: Fix missing error code in amd_pmf_init_smart_pc()
On the error path, assign -ENOMEM to ret when memory allocation of "dev->prev_data" fails. Fixes: e70961505808 ("platform/x86/amd/pmf: Fixup error handling for amd_pmf_init_smart_pc()") Signed-off-by: Harshit Mogalapalli <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions