Unverified Commit 1d0a6194 authored by Dan Carpenter's avatar Dan Carpenter Committed by Ilpo Järvinen
Browse files

platform/x86/intel: power-domains: Fix error code in tpmi_init()



Return -ENOMEM instead of success if kcalloc() fails.

Fixes: e37be5d8 ("platform/x86/intel: power-domains: Add interface to get Linux die ID")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/aEKvIGCt6d8Gcx4S@stanley.mountain


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent afbdc4bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment