From patchwork Sat Jun 20 00:34:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6649921 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 03B579F1C1 for ; Sat, 20 Jun 2015 00:35:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E56920893 for ; Sat, 20 Jun 2015 00:35:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 88E802088D for ; Sat, 20 Jun 2015 00:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754449AbbFTAfA (ORCPT ); Fri, 19 Jun 2015 20:35:00 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:36395 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754254AbbFTAe7 (ORCPT ); Fri, 19 Jun 2015 20:34:59 -0400 Received: by lacny3 with SMTP id ny3so82913553lac.3 for ; Fri, 19 Jun 2015 17:34:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=RxO/dWJBWwx9R+YwjVpHWIe2BtsP++N9QfGRp5OLFY8=; b=jOAdCHGP/QkLnSqjHTAKaP3TxIQcrr2yYsNzzed0WVtO9Yx19T2nEseaDWJ0aYlb91 clgjo6dJl4/V9phZmMI1Y5TQykr+mX9YMJSAy2Uq9cCo4b6BamWawzPw3jYmhBNIltgv 5XzGScaIe3MzptyiqJi9pYFr8KG2F0tO9OV94qS1dE1H3UOxElDpCxnkruh4ZrE9WKaE lkDlFmvS1mXMrLn+nMz5nkGNgi24TFxSVIA9A4s0YL3dkMJN4GZfw1khvh2GV4RWIRVZ s44XNcFLbZ6UiUg0zuXQbuuUCXZcrLAIaVa0P47yDdxq9shcyO0jAC6itFLg84tn7AOo V61Q== X-Gm-Message-State: ALoCoQndAeS/XZT8C2VClt12xd/reqpeHp0ZEp6hJh9snH3uZ3b6SXOiTUnXeNTTRcTIg9M4+feS X-Received: by 10.112.143.165 with SMTP id sf5mr20163296lbb.44.1434760498249; Fri, 19 Jun 2015 17:34:58 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-255-137.pppoe.mtu-net.ru. [83.237.255.137]) by mx.google.com with ESMTPSA id q17sm3074lal.37.2015.06.19.17.34.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2015 17:34:57 -0700 (PDT) From: Sergei Shtylyov To: netdev@vger.kernel.org, wg@grandegger.com, mkl@pengutronix.de, linux-can@vger.kernel.org Cc: linux-sh@vger.kernel.org Subject: [PATCH 3/3] rcar_can: fix typo in error message Date: Sat, 20 Jun 2015 03:34:55 +0300 Message-ID: <7487668.8ZFbI2F5E8@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.7 (Linux/4.0.4-202.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <2010452.WyFito6egU@wasted.cogentembedded.com> References: <2010452.WyFito6egU@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix typo in the first error message printed by rcar_can_open(). Based on the original patch by Vladimir Barinov. Fixes: 862e2b6af941 ("can: rcar_can: support all input clocks") Reported-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov --- drivers/net/can/rcar_can.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in Index: linux-can/drivers/net/can/rcar_can.c =================================================================== --- linux-can.orig/drivers/net/can/rcar_can.c +++ linux-can/drivers/net/can/rcar_can.c @@ -508,7 +508,8 @@ static int rcar_can_open(struct net_devi err = clk_prepare_enable(priv->clk); if (err) { - netdev_err(ndev, "failed to enable periperal clock, error %d\n", + netdev_err(ndev, + "failed to enable peripheral clock, error %d\n", err); goto out; }