On Thu, Nov 11, 2021 at 05:48:06PM +0200, Vladimir Zapolskiy wrote: > From: Ard Biesheuvel <ardb@xxxxxxxxxx> > > 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@xxxxxxxxxx> > Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> > Cc: Andy Gross <agross@xxxxxxxxxx> > Cc: linux-arm-msm@xxxxxxxxxxxxxxx > Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx> > Reviewed-by: Thara Gopinath <thara.gopinath@xxxxxxxxxx> > Tested-by: Steev Klimaszewski <steev@xxxxxxxx> > Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@xxxxxxxxxx> Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>