From patchwork Tue Oct 24 07:50:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Yadav X-Patchwork-Id: 10023607 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EA2D060245 for ; Tue, 24 Oct 2017 07:51:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE62C2898B for ; Tue, 24 Oct 2017 07:51:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2E9A2899C; Tue, 24 Oct 2017 07:51:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 756892898B for ; Tue, 24 Oct 2017 07:51:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751323AbdJXHvJ (ORCPT ); Tue, 24 Oct 2017 03:51:09 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:53462 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751318AbdJXHvI (ORCPT ); Tue, 24 Oct 2017 03:51:08 -0400 Received: by mail-pg0-f67.google.com with SMTP id s2so13863300pge.10; Tue, 24 Oct 2017 00:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0OfXI0EpdrI5+XIIZ1LHpredc8EUWGUaNLenldG2ctk=; b=cr+OWbvyWiZ/m2SFvq0od0UhKB1PBt+uF2eNbiVy1tO2hTT8FVHLhDwYHkN4oDDsBw ipPglISMzDn9OqzipeDGZH5i4i1R4zxOpshCFOIRQA1qykM3n/1FZclCXmW6tLIDAgIH y26R78RVwKfj8/PKYrUHAeLWqWeg1rlLRJJr5OQJo6CfofeUg6HattOB8SCg1x970YAb oELhvgdg4kweTZEX605MzjdCdT1VG+1uCvmYZqixxt9Fg2Tr8W1RN/yrfAP7JlMdopmC H/XCh/U1dHfBWoQ/2TcQD+2a97Glks/y2IcWkH3WYhhW9dxRlVQr6LQ+hPTpNxN8HMTP Zzcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0OfXI0EpdrI5+XIIZ1LHpredc8EUWGUaNLenldG2ctk=; b=Ie7QLRkEuhFD7a4WYqLquA4nNplsBU6VpAVlnetJoK7YgudWRFXdgjvcv/+/PE9Zfq i14mAbzdQIBXQFWGUhLvCBjt/r5KY3XcOPwFfmVtVZsZ4sXvw/wB611/e7/peI356X+S ewpzNjusMZv92LO+6NkpLMeTzXbcnHC9M0rSjIGobU1VodPVSn/lYV+WlFLrB1BhgRIP 8EWOrFeTNClvAx5/TvHbIAe1Qbf0lx7Glrc3hzbnDyScrXkT6xqg5NwWSgsIvquLpdHF GuX9n5FNlKBuhdwyWtAlgXaxS8Y769LWUiCUk8b6tmjmO6WqMld0rcba1KbZaKkQ7gqR Mqdw== X-Gm-Message-State: AMCzsaUBp/P1Cb3sTOWh2hg8mfW4gw7v3NMDdqoDx+NrmoWHJV2vC4oL eJKvDlCkiX+5SWtiU/rlZ04= X-Google-Smtp-Source: ABhQp+SFLdF52cygQp1WlbA0cCzFboJgPdE9Mk3JNXEqjWMOUqQKf5vvBbuDpxoF870akj2wGRTg6w== X-Received: by 10.99.6.18 with SMTP id 18mr13666583pgg.389.1508831467849; Tue, 24 Oct 2017 00:51:07 -0700 (PDT) Received: from symbol-HP-Z420-Workstation.zebra.lan ([223.31.70.102]) by smtp.googlemail.com with ESMTPSA id 24sm18094500pfk.9.2017.10.24.00.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 00:51:06 -0700 (PDT) From: Arvind Yadav To: amit.kachhap@gmail.com, viresh.kumar@linaro.org, javi.merino@kernel.org, rui.zhang@intel.com, edubezval@gmail.com Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] thermal: cpu_cooling: pr_err() strings should end with newlines Date: Tue, 24 Oct 2017 13:20:39 +0530 Message-Id: <4a3646da88934a58525fc00141f634805ee6eb99.1508829220.git.arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav Acked-by: Javi Merino Acked-by: Viresh Kumar --- 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); }