diff options
| author | Liao Chang <liaochang1@huawei.com> | 2023-08-17 07:47:56 +0000 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-08-17 14:24:58 +0530 |
| commit | e613d8cff54736d4fa73730ccaa0ecbe39140782 (patch) | |
| tree | bb89b39a531546c0db04db772875bc8166480381 /lib/test-string_helpers.c | |
| parent | 6a4fec4f6d30a325a1b27be70729145484e6fe9f (diff) | |
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
