diff options
author | 2023-08-17 07:47:56 +0000 | |
---|---|---|
committer | 2023-08-17 14:24:58 +0530 | |
commit | e613d8cff54736d4fa73730ccaa0ecbe39140782 (patch) | |
tree | bb89b39a531546c0db04db772875bc8166480381 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: cppc: cppc_cpufreq_get_rate() returns zero in all error cases. (diff) | |
download | wireguard-linux-e613d8cff54736d4fa73730ccaa0ecbe39140782.tar.xz wireguard-linux-e613d8cff54736d4fa73730ccaa0ecbe39140782.zip |
cpufreq: cppc: Set fie_disabled to FIE_DISABLED if fails to create kworker_fie
The function cppc_freq_invariance_init() may failed to create
kworker_fie, make it more robust by setting fie_disabled to FIE_DISBALED
to prevent an invalid pointer dereference in kthread_destroy_worker(),
which called from cppc_freq_invariance_exit().
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions