diff options
author | Brian Norris <briannorris@chromium.org> | 2022-03-08 11:09:01 -0800 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2022-04-14 07:18:12 +0900 |
commit | 5d521a307526871f5613d24a8e71babf1869c486 (patch) | |
tree | 195c7991814ffde85e4826aab599769f1e40649c /drivers/soc | |
parent | PM / devfreq: rk3399_dmc: Use devm_pm_opp_of_add_table() (diff) | |
download | wireguard-linux-5d521a307526871f5613d24a8e71babf1869c486.tar.xz wireguard-linux-5d521a307526871f5613d24a8e71babf1869c486.zip |
PM / devfreq: rk3399_dmc: Avoid static (reused) profile
This static struct can get reused if the device gets removed/reprobed,
and that causes use-after-free in its ->freq_table.
Let's just move the struct to our dynamic allocation.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions