From patchwork Mon Oct 9 11:51:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Yadav X-Patchwork-Id: 9992799 X-Patchwork-Delegate: rui.zhang@intel.com 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 60AD2602D7 for ; Mon, 9 Oct 2017 11:52:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 525EE287AA for ; Mon, 9 Oct 2017 11:52:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46F92287AC; Mon, 9 Oct 2017 11:52:34 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI 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 DA228287AA for ; Mon, 9 Oct 2017 11:52:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581AbdJILwc (ORCPT ); Mon, 9 Oct 2017 07:52:32 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:37823 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbdJILwc (ORCPT ); Mon, 9 Oct 2017 07:52:32 -0400 Received: by mail-pf0-f195.google.com with SMTP id z80so8640690pff.4; Mon, 09 Oct 2017 04:52:31 -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=m4C2YrNps9Vs2u7Da3B+WouY09f57MhIZ+LoE6VYBew=; b=gJqJ46Wj0R218xTqzX/04yuk6JtLtfpv47yW9W9YMzPl9epQ8yqvazkSuuPxWAh79/ o3MwR16v5qFzgQudbTA0ggPCusYn55cstwFE89ant7FqlqHqsSJ23PHZgE9MkU/PJnay 1iHQUQMqpPuNWyqJpWj/9fUEkP+6/EsXNhbeMpSn3eU7/Wf5hvAS8Jlp2VXb+T7hsH/E AeziMNM0ozf8q2jxryBxEAc7qNiu/tuETMjfQGSbYhJqdX4tSK6VAUBapy57z+0u4Qwr I6SwyUOo61+uVnggonIsnVQL0xfpRgHYcfeKM09Dq9krMuD63LycHMhgUFeNAv3qV7C3 v40A== 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=m4C2YrNps9Vs2u7Da3B+WouY09f57MhIZ+LoE6VYBew=; b=tc4yj70AcIqkzQUvGfxGeMm2sOsTMjSAXBsDLJ3TYJI8Q5r1qFCxaK5ITWjq5fNUL7 EVzRyTqIqH4SKNUNKHrItAgTMGToh8V6weJSlEwiwS/cV76UuP/i9/XaTx8PGToiZBYW EDHJuwmAGOXDF5wABlr8lusIP5/th/YZbneR1ith9xHU93G6zB9pAg7j+bLMrrz4BtDI Hmz29Xxd9jeDRyV1s6mVD4ew0Nw5/1x7NLqI2A27N6ov1nPx341Ob3NRHFhc55S+RkhM b0ODkgr0SApSDnCrhaBLC683DNsHSYtCE4pseP6qgaoyLjrjrZJSELVYWp8bD9Ph7W90 DqGQ== X-Gm-Message-State: AMCzsaUlSDMTG2MFWz1V85sGtxtUrRSE7BO6F4MorXccJIYm9oNBL5xC +Jcf75u5Hga+Yk6CMIQSyEI= X-Google-Smtp-Source: AOwi7QBnpB7fzeUj9mA+dZwN8DCjEiSNnJEoAXAL2lD2I4IoemVLeUqTHZQakFcjAsQH+IAF+y/uXw== X-Received: by 10.98.236.16 with SMTP id k16mr9562227pfh.152.1507549951671; Mon, 09 Oct 2017 04:52:31 -0700 (PDT) Received: from symbol-HP-Z420-Workstation.zebra.lan ([223.31.70.102]) by smtp.googlemail.com with ESMTPSA id b7sm13007873pge.79.2017.10.09.04.52.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 04:52:30 -0700 (PDT) From: Arvind Yadav To: rui.zhang@intel.com, edubezval@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal/intel_powerclamp: pr_err()/pr_info() strings should end with newlines Date: Mon, 9 Oct 2017 17:21:07 +0530 Message-Id: <277b8d12fc6980ec2ffd039a872f681ec0e49c19.1507549738.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()/pr_info() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/thermal/intel_powerclamp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c index d718cd1..4540e89 100644 --- a/drivers/thermal/intel_powerclamp.c +++ b/drivers/thermal/intel_powerclamp.c @@ -675,13 +675,13 @@ static int __init powerclamp_probe(void) { if (!x86_match_cpu(intel_powerclamp_ids)) { - pr_err("CPU does not support MWAIT"); + pr_err("CPU does not support MWAIT\n"); return -ENODEV; } /* The goal for idle time alignment is to achieve package cstate. */ if (!has_pkg_state_counter()) { - pr_info("No package C-state available"); + pr_info("No package C-state available\n"); return -ENODEV; }