[PATCH v2 0/2] cpufreq: scmi/scpi: Fix NULL pointer dereference in get_rate()
Sudeep Holla
sudeep.holla at arm.com
Wed Apr 9 04:30:04 PDT 2025
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 at arm.com>
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@gmail.com/
[2] https://lore.kernel.org/all/20241230093159.258813-1-hanchunchao@inspur.com
[3] https://lore.kernel.org/all/20241230090137.243825-1-hanchunchao@inspur.com
More information about the linux-arm-kernel
mailing list