From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752089AbdJZDog (ORCPT ); Wed, 25 Oct 2017 23:44:36 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:54947 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039AbdJZDoe (ORCPT ); Wed, 25 Oct 2017 23:44:34 -0400 X-Google-Smtp-Source: ABhQp+QUoH7HHwl+m0LP1kHooM17VET3dSqgTEjJM5ADDrB0q2CQebx1EJKFofQ+l/8TJK7ck5vUaA== Date: Thu, 26 Oct 2017 09:14:29 +0530 From: Viresh Kumar To: Arvind Yadav Cc: amit.kachhap@gmail.com, javi.merino@kernel.org, rui.zhang@intel.com, edubezval@gmail.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] thermal: cpu_cooling: pr_err() strings should end with newlines Message-ID: <20171026034429.GB4240@vireshk-i7> References: <4a3646da88934a58525fc00141f634805ee6eb99.1508829220.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4a3646da88934a58525fc00141f634805ee6eb99.1508829220.git.arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24-10-17, 13:20, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- > drivers/thermal/cpu_cooling.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > index 908a801..dc63aba 100644 > --- a/drivers/thermal/cpu_cooling.c > +++ b/drivers/thermal/cpu_cooling.c > @@ -696,7 +696,7 @@ static unsigned int find_next_max(struct cpufreq_frequency_table *table, > 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); > } Acked-by: Viresh Kumar -- viresh