summaryrefslogtreecommitdiffstats
path: root/lib/decompress_unxz.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-11-11 16:48:06 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2021-11-25 07:49:37 +0100
commitbe6592ed56a7cca8a001ff339cb9325bfa3c6e3f (patch)
treed153da17122a8ba980153ede7ef56aa2a6b6ccd6 /lib/decompress_unxz.c
parentarch_topology: Remove unused topology_set_thermal_pressure() and related (diff)
downloadlinux-be6592ed56a7cca8a001ff339cb9325bfa3c6e3f.tar.xz
linux-be6592ed56a7cca8a001ff339cb9325bfa3c6e3f.zip
cpufreq: qcom-cpufreq-hw: Avoid stack buffer for IRQ name
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@linaro.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Andy Gross <agross@kernel.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Thara Gopinath <thara.gopinath@linaro.org> Tested-by: Steev Klimaszewski <steev@kali.org> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'lib/decompress_unxz.c')
0 files changed, 0 insertions, 0 deletions