diff options
author | Zhang Rui <rui.zhang@intel.com> | 2019-03-18 15:26:33 +0100 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2019-03-18 15:26:33 +0100 |
commit | e925b5be5751f6a7286bbd9a4cbbc4ac90cc5fa6 (patch) | |
tree | d79bfe7236708f3eca85ca02877d4690a464e916 /drivers/thermal/intel | |
parent | thermal/int340x_thermal: fix mode setting (diff) | |
download | linux-e925b5be5751f6a7286bbd9a4cbbc4ac90cc5fa6.tar.xz linux-e925b5be5751f6a7286bbd9a4cbbc4ac90cc5fa6.zip |
thermal/intel_powerclamp: fix truncated kthread name
kthread name only allows 15 characters (TASK_COMMON_LEN is 16).
Thus rename the kthreads created by intel_powerclamp driver from
"kidle_inject/ + decimal cpuid" to "kidle_inj/ + decimal cpuid"
to avoid truncated kthead name for cpu 100 and later.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/intel')
-rw-r--r-- | drivers/thermal/intel/intel_powerclamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/intel/intel_powerclamp.c b/drivers/thermal/intel/intel_powerclamp.c index 7571f7c2e7c9..9434f4eb421a 100644 --- a/drivers/thermal/intel/intel_powerclamp.c +++ b/drivers/thermal/intel/intel_powerclamp.c @@ -494,7 +494,7 @@ static void start_power_clamp_worker(unsigned long cpu) struct powerclamp_worker_data *w_data = per_cpu_ptr(worker_data, cpu); struct kthread_worker *worker; - worker = kthread_create_worker_on_cpu(cpu, 0, "kidle_inject/%ld", cpu); + worker = kthread_create_worker_on_cpu(cpu, 0, "kidle_inj/%ld", cpu); if (IS_ERR(worker)) return; |