Skip to content

Commit

Permalink
thermal: cpu_cooling: pr_err() strings should end with newlines
Browse files Browse the repository at this point in the history
pr_err() messages should end with a new-line to avoid other messages
being concatenated.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Javi Merino <javi.merino@kernel.org>
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
  • Loading branch information
Arvind Yadav authored and Eduardo Valentin committed Nov 1, 2017
1 parent 9e03cf1 commit b2fd708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/cpu_cooling.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ __cpufreq_cooling_register(struct device_node *np,
bool first;

if (IS_ERR_OR_NULL(policy)) {
pr_err("%s: cpufreq policy isn't valid: %p", __func__, policy);
pr_err("%s: cpufreq policy isn't valid: %p\n", __func__, policy);
return ERR_PTR(-EINVAL);
}

Expand Down

0 comments on commit b2fd708

Please sign in to comment.