diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-10-24 10:50:39 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-11-01 05:32:19 +0300 |
commit | b2fd708ffa7f43ce8680271924e1771e26a3ec91 (patch) | |
tree | fd323f7cac7da6902046edeef8c43274bb3b2185 /drivers/thermal | |
parent | 9e03cf1b2dd54733d0d2c5811b78257d78562c03 (diff) | |
download | linux-b2fd708ffa7f43ce8680271924e1771e26a3ec91.tar.xz |
thermal: cpu_cooling: pr_err() strings should end with newlines
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>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 908a8014cf76..dc63aba092e4 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -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); } |