[PATCH] cpufreq: qcom-cpufreq-hw: Avoid stack buffer for IRQ name

Loic Poulain loic.poulain at linaro.org
Mon Dec 20 02:12:32 PST 2021


> On 9/1/21 4:47 AM, Ard Biesheuvel wrote:
> > Registering an IRQ requires the string buffer containing the name to
> > remain allocated, as the name is not copied into another buffer.
> >
> > So let's add a irq_name field to the data struct instead, which is
> > guaranteed to have the appropriate lifetime.
> >
> > Cc: Thara Gopinath <thara.gopinath at linaro.org>
> > Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
> > Cc: Andy Gross <agross at kernel.org>
> > Cc: linux-arm-msm at vger.kernel.org
> > Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
>
> Thanks for the fix.
>
> Reviewed-by: Thara Gopinath <thara.gopinath at linaro.org>

Seems this patch has been overlooked. Would it be possible to resubmit
it with a 'Fixes' tag?

Regards,
Loic



More information about the linux-arm-kernel mailing list