Re: [PATCH V2 11/11] hwmon: (coretemp) Use dynamic allocated memory for core temp_data

From: Guenter Roeck
Date: Sun Feb 04 2024 - 09:51:04 EST


On Fri, Feb 02, 2024 at 05:21:44PM +0800, Zhang Rui wrote:
> The total memory needed for saving per core temperature data depends on
> the number of cores in a package. Using static allocated memory wastes
> memories on systems with low per package core count.
>
> Improve the code to use dynamic allocated memory so that it can be
> improved further when per package core count information becomes
> available.
>
> No functional change intended.
>
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>

Applied.

Thanks,
Guenter