cpufreq: powernow-k8: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 25 Sep 2017 09:40:11 +0000 (15:10 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Oct 2017 00:51:08 +0000 (02:51 +0200)
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/powernow-k8.c

index 062d71434e470eeb452edcc10417aae7e4d809cc..b01e31db5f8371584ff26e807fe7a74b5724e100 100644 (file)
@@ -1043,7 +1043,7 @@ static int powernowk8_cpu_init(struct cpufreq_policy *pol)
 
        data = kzalloc(sizeof(*data), GFP_KERNEL);
        if (!data) {
-               pr_err("unable to alloc powernow_k8_data");
+               pr_err("unable to alloc powernow_k8_data\n");
                return -ENOMEM;
        }