Thread (5 messages) 5 messages, 5 authors, 2021-12-20

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

flat view

From: Loic Poulain <hidden>
Date: 2021-12-20 10:01:05
Also in: linux-arm-msm

On 9/1/21 4:47 AM, Ard Biesheuvel wrote:
quoted
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 <redacted>
Cc: Bjorn Andersson <redacted>
Cc: Andy Gross <agross@kernel.org>
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Thanks for the fix.

Reviewed-by: Thara Gopinath <redacted>
Seems this patch has been overlooked. Would it be possible to resubmit
it with a 'Fixes' tag?

Regards,
Loic

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help