diff options
author | Liao Chang <liaochang1@huawei.com> | 2023-08-17 10:47:56 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-08-17 11:54:58 +0300 |
commit | e613d8cff54736d4fa73730ccaa0ecbe39140782 (patch) | |
tree | bb89b39a531546c0db04db772875bc8166480381 /Documentation/devicetree/bindings/cpufreq | |
parent | 6a4fec4f6d30a325a1b27be70729145484e6fe9f (diff) | |
download | linux-e613d8cff54736d4fa73730ccaa0ecbe39140782.tar.xz |
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 'Documentation/devicetree/bindings/cpufreq')
0 files changed, 0 insertions, 0 deletions