diff options
author | Ard Biesheuvel <[email protected]> | 2021-11-11 17:48:06 +0200 |
---|---|---|
committer | Viresh Kumar <[email protected]> | 2021-11-25 12:19:37 +0530 |
commit | be6592ed56a7cca8a001ff339cb9325bfa3c6e3f (patch) | |
tree | d153da17122a8ba980153ede7ef56aa2a6b6ccd6 /scripts/bpf_doc.py | |
parent | 7e97b3dc2556743dd02612c92a8de7026e8d7dc9 (diff) |
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 <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Andy Gross <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Thara Gopinath <[email protected]>
Tested-by: Steev Klimaszewski <[email protected]>
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions