On Fri, 06 Jun 2025 13:53:00 -0700, Srinivas Pandruvada wrote:
Address a Smatch static checker warning regarding an unchecked dereference in the function call: set_cdie_id(i, cluster_info, plat_info) when plat_info is NULL.
Instead of addressing this one case, in general if plat_info is NULL then it can cause other issues. For example in a two package system it will give warning for duplicate sysfs entry as package ID will be always zero for both packages when creating string for attribute group name.
[...]
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied: [1/1] platform/x86/intel-uncore-freq: Fail module load when plat_info is NULL commit: 685f88c72a0c4d12d3bd2ff50286938f14486f85
-- i.