From patchwork Mon Sep 25 10:13:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arvind Yadav X-Patchwork-Id: 9969585 X-Patchwork-Delegate: rjw@sisk.pl 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 76AFF602D8 for ; Mon, 25 Sep 2017 10:14:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6131A28ACE for ; Mon, 25 Sep 2017 10:14:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55B1D28AD1; Mon, 25 Sep 2017 10:14:57 +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 AE52B28ACE for ; Mon, 25 Sep 2017 10:14:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932107AbdIYKOz (ORCPT ); Mon, 25 Sep 2017 06:14:55 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35971 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752805AbdIYKOy (ORCPT ); Mon, 25 Sep 2017 06:14:54 -0400 Received: by mail-pf0-f195.google.com with SMTP id f84so3416611pfj.3; Mon, 25 Sep 2017 03:14:53 -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=GkA6kVA5u7+eQeeyd7sOJXbg1XYl636Mu2NGktQ+OGY=; b=AbZmBMAVKLppedqG4m+ABPtLBHLvTrRcl1b9PiQ2mJ4bCrFv0n2mPcO4dvrKJIxjsw D68jWDnzzXXNH8gOC7WrJ2tQvmyIqrtS72CsINGDbBeJhhyauFghNR/0KMBLP+sThF+S ZjqvONiyiT2nUP+9KV+j4A5CIAyieattn7Mw87RsherXpLVpxA139wK1UVOsT7fjLgo0 3KU6xshPYRmuIDrNMWqs6+eSQnk9VSoWoEWAsa+82fVXeSUFI/tdAo85ZzJw0GlFiJsg gPigcEnd8RnKezljpFy9pHL36bn09RWGFKlfJYDNAso9HoG2z7MNh+FYINxfR3jzOumY PBxg== 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=GkA6kVA5u7+eQeeyd7sOJXbg1XYl636Mu2NGktQ+OGY=; b=PI8i/0YDml3Bf2MZSHXWefQKxJstjApd6L3H8sk0jXUMQD4QnlC9aCjC8MstMqDR8i JKbNXhE2jRbFgCQAyNlykQYHpN/BuTri7tVtaBM0WZWWOc7P+kH1q+krzFkYStYmtUs0 vuZKnTiTxVXdDPdqWHjzEwCI9NaQpTg3ouy46uJ93kPhSEn3FkQCdhhJjEsIotukH5kH P2MjbSgXwYnD0UHRxIxxy023SC4qnqEL2Io26G+UOYEafAYsy3WqD4c67OXaG6sJkoz0 TMka4lcEqWJGrNbAtBSbg09ByEhE1nBBv3BlDppKtKzfpO9ftpWp9QxIYmDm28CyfeHJ nzEA== X-Gm-Message-State: AHPjjUjc+JFlK3BR0qF9Z09ziln134gW2QMMMgKlsBtz54JOJ98gnXHF cYii/ZWczhYkTxuP0bwlAgU= X-Google-Smtp-Source: AOwi7QDXVHu5qlkvMCMONuQNX8VL8ptb7Sb4QlZ8V5JkpN3wKJtp8UQN/vug8mvPbWFgLsrC2a5thw== X-Received: by 10.99.160.2 with SMTP id r2mr7110750pge.158.1506334493537; Mon, 25 Sep 2017 03:14:53 -0700 (PDT) Received: from symbol-HP-Z420-Workstation.zebra.lan ([223.31.70.102]) by smtp.googlemail.com with ESMTPSA id g16sm11313677pgn.62.2017.09.25.03.14.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Sep 2017 03:14:53 -0700 (PDT) From: Arvind Yadav To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: SPEAr: pr_err() strings should end with newlines Date: Mon, 25 Sep 2017 15:43:49 +0530 Message-Id: <511e2c0f9a2dd23aceb8c0fc39184bfaca1f98c9.1506334381.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 terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav Acked-by: Viresh Kumar --- drivers/cpufreq/spear-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index 4894924..195f27f 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c @@ -177,7 +177,7 @@ static int spear_cpufreq_probe(struct platform_device *pdev) np = of_cpu_device_node_get(0); if (!np) { - pr_err("No cpu node found"); + pr_err("No cpu node found\n"); return -ENODEV; } @@ -187,7 +187,7 @@ static int spear_cpufreq_probe(struct platform_device *pdev) prop = of_find_property(np, "cpufreq_tbl", NULL); if (!prop || !prop->value) { - pr_err("Invalid cpufreq_tbl"); + pr_err("Invalid cpufreq_tbl\n"); ret = -ENODEV; goto out_put_node; }