Skip to content

Commit

Permalink
thermal/intel_powerclamp: pr_err()/pr_info() strings should end with …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Arvind Yadav authored and Zhang Rui committed Oct 17, 2017
1 parent 2bd6bf0 commit d344f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thermal/intel_powerclamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d344f31

Please sign in to comment.