thermal: cpu_cooling: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 24 Oct 2017 07:50:39 +0000 (13:20 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 1 Nov 2017 02:32:19 +0000 (19:32 -0700)
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>
drivers/thermal/cpu_cooling.c

index 908a801..dc63aba 100644 (file)
@@ -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);
        }