Re: [PATCH v2 0/2] cpufreq: scmi/scpi: Fix NULL pointer dereference in get_rate()
From: Sudeep Holla
Date: Wed Apr 09 2025 - 07:30:51 EST
On Tue, Apr 08, 2025 at 11:03:52PM +0800, Henry Martin wrote:
> This series fixes potential NULL pointer dereferences in scmi_cpufreq_get_rate()
> and scpi_cpufreq_get_rate() when cpufreq_cpu_get_raw() returns NULL.
>
Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx>
I think unlikely is needed even in this patch[1] and thats what Viresh
meant when he mention all similar changes under one series and consistent
change.
Also I just happened to notice similar patches posted while ago[2][3].
Not sure how to handle the situation though.
--
Regards,
Sudeep
[1] https://lore.kernel.org/all/20250405061927.75485-1-bsdhenrymartin@xxxxxxxxx/
[2] https://lore.kernel.org/all/20241230093159.258813-1-hanchunchao@xxxxxxxxxx
[3] https://lore.kernel.org/all/20241230090137.243825-1-hanchunchao@xxxxxxxxxx