提交 d344f313 编写于 作者: A Arvind Yadav 提交者: Zhang Rui

thermal/intel_powerclamp: pr_err()/pr_info() strings should end with newlines

pr_err()/pr_info() messages should end with a new-line to avoid
other messages being concatenated.
Signed-off-by: NArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 2bd6bf03
...@@ -675,13 +675,13 @@ static int __init powerclamp_probe(void) ...@@ -675,13 +675,13 @@ static int __init powerclamp_probe(void)
{ {
if (!x86_match_cpu(intel_powerclamp_ids)) { if (!x86_match_cpu(intel_powerclamp_ids)) {
pr_err("CPU does not support MWAIT"); pr_err("CPU does not support MWAIT\n");
return -ENODEV; return -ENODEV;
} }
/* The goal for idle time alignment is to achieve package cstate. */ /* The goal for idle time alignment is to achieve package cstate. */
if (!has_pkg_state_counter()) { if (!has_pkg_state_counter()) {
pr_info("No package C-state available"); pr_info("No package C-state available\n");
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册