aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/amd/pmc/pmc.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-06-06 09:04:32 +0000
committerIlpo Järvinen <[email protected]>2025-06-09 07:47:10 +0000
commit1d0a61940e22e165e6acc4a9c6fb26edbe69112e (patch)
treeecf992fd3bd3bfc7e011469bec412af91e5afd6d /drivers/platform/x86/amd/pmc/pmc.c
parentplatform/x86: samsung-galaxybook: Add SAM0426 (diff)
downloadkernel-1d0a61940e22e165e6acc4a9c6fb26edbe69112e.tar.gz
kernel-1d0a61940e22e165e6acc4a9c6fb26edbe69112e.zip
platform/x86/intel: power-domains: Fix error code in tpmi_init()
Return -ENOMEM instead of success if kcalloc() fails. Fixes: e37be5d85c60 ("platform/x86/intel: power-domains: Add interface to get Linux die ID") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/amd/pmc/pmc.c')
0 files changed, 0 insertions, 0 deletions