aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-10-09 07:51:07 -0400
committerZhang Rui <rui.zhang@intel.com>2017-10-17 03:56:06 -0400
commitd344f3138a473b99f09041a1e6ece9f3b8953858 (patch)
tree0cad2054b794d6d8c37745ee2196af33f6babd4d
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
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: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r--drivers/thermal/intel_powerclamp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c
index d718cd179ddb..4540e892b61d 100644
--- a/drivers/thermal/intel_powerclamp.c
+++ b/drivers/thermal/intel_powerclamp.c
@@ -675,13 +675,13 @@ static int __init powerclamp_probe(void)
675{ 675{
676 676
677 if (!x86_match_cpu(intel_powerclamp_ids)) { 677 if (!x86_match_cpu(intel_powerclamp_ids)) {
678 pr_err("CPU does not support MWAIT"); 678 pr_err("CPU does not support MWAIT\n");
679 return -ENODEV; 679 return -ENODEV;
680 } 680 }
681 681
682 /* The goal for idle time alignment is to achieve package cstate. */ 682 /* The goal for idle time alignment is to achieve package cstate. */
683 if (!has_pkg_state_counter()) { 683 if (!has_pkg_state_counter()) {
684 pr_info("No package C-state available"); 684 pr_info("No package C-state available\n");
685 return -ENODEV; 685 return -ENODEV;
686 } 686 }
687 687