]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/intel_powerclamp: fix truncated kthread name
authorZhang Rui <rui.zhang@intel.com>
Mon, 18 Mar 2019 14:26:33 +0000 (22:26 +0800)
committerZhang Rui <rui.zhang@intel.com>
Mon, 18 Mar 2019 14:26:33 +0000 (22:26 +0800)
commit79e7549116f05a0db6f9fcccfabe638daa7e9c8c
treed79bfe7236708f3eca85ca02877d4690a464e916
parent2d4705dd3dbd8b77d59dea01c392fcda29bebb38
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>
drivers/thermal/intel/intel_powerclamp.c