Re: [PATCH v2 0/2] cpufreq: scmi/scpi: Fix NULL pointer dereference in get_rate()
From: henry martin
Date: Wed Apr 09 2025 - 08:41:50 EST
> 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.
Thanks for reviewing. I'll send v2 of patch[1] soon.
Sudeep Holla <sudeep.holla@xxxxxxx> 于2025年4月9日周三 19:30写道:
>
> 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