]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
thermal/intel_powerclamp: pr_err()/pr_info() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 9 Oct 2017 11:51:07 +0000 (17:21 +0530)
committerZhang Rui <rui.zhang@intel.com>
Tue, 17 Oct 2017 07:56:06 +0000 (15:56 +0800)
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>
drivers/thermal/intel_powerclamp.c

index d718cd179ddbb29277d05bf3cb308ebd17abc901..4540e892b61d300d9d735c862d8528f258ae81c4 100644 (file)
@@ -675,13 +675,13 @@ static int __init powerclamp_probe(void)
 {
 
        if (!x86_match_cpu(intel_powerclamp_ids)) {
-               pr_err("CPU does not support MWAIT");
+               pr_err("CPU does not support MWAIT\n");
                return -ENODEV;
        }
 
        /* The goal for idle time alignment is to achieve package cstate. */
        if (!has_pkg_state_counter()) {
-               pr_info("No package C-state available");
+               pr_info("No package C-state available\n");
                return -ENODEV;
        }