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

Bjorn Andersson bjorn.andersson at linaro.org
Mon Dec 20 15:43:31 PST 2021


On Mon 20 Dec 02:12 PST 2021, Loic Poulain wrote:

> > 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?
> 

This was resubmitted by Vladimir and Viresh replied that it's applied,
see:

https://lore.kernel.org/all/20211125065014.phkfugo2wptosrgv@vireshk-i7/

Regards,
Bjorn



More information about the linux-arm-kernel mailing list