summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-06-06 12:04:32 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-06-09 10:47:10 +0300
commit1d0a61940e22e165e6acc4a9c6fb26edbe69112e (patch)
treeecf992fd3bd3bfc7e011469bec412af91e5afd6d /scripts/gcc-plugins/cyc_complexity_plugin.c
parentafbdc4bbb3a6418778cf969b0795bbaa8237cdd3 (diff)
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 <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/aEKvIGCt6d8Gcx4S@stanley.mountain 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