From patchwork Sat May 19 21:05:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10413033 X-Patchwork-Delegate: geert@linux-m68k.org 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 3B3CE6031B for ; Sat, 19 May 2018 21:05:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28E252868C for ; Sat, 19 May 2018 21:05:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C0E9286A7; Sat, 19 May 2018 21:05:11 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, 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 4DA962868C for ; Sat, 19 May 2018 21:05:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752523AbeESVFG (ORCPT ); Sat, 19 May 2018 17:05:06 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:33390 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752608AbeESVFF (ORCPT ); Sat, 19 May 2018 17:05:05 -0400 Received: by mail-lf0-f65.google.com with SMTP id u9-v6so1577394lfc.0 for ; Sat, 19 May 2018 14:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=phL8DU/5ML1LWvkH6h9CVOa9DJdkos17f3tVqS4dx0U=; b=P8e6qw+HVREYPnxamwC9S7dCym6z0fr6lZNJ7gS9Y+kLkD09dTQNHhZFyO0s56jPFE FyoyG2erdMLPSfBDRGlOSJlGgcs+FP8vDUR0fKWInEZF2eV2TIuAs3i1ACug4UMqUHPZ JQGW9Yc5Y8B+JVC5JqayImXqA4FJUL6vRz1lymEvZkd3gqEK1DPZ0k5ZLn4CR7G0tOhm +ufolE06OeYlSVIBZG7b4l6GfsM4DS3Q2bTKkkYaE7qv+pLRuaKX385c/t7f+rCMuoTZ 39fVcE++EC3n42q0g2xv/ihllEyKMYM6RnSRWPLs5vU+ULlWto8vHnad5H33urzOmOC3 QVHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=phL8DU/5ML1LWvkH6h9CVOa9DJdkos17f3tVqS4dx0U=; b=FECsqC8Wq6THZwbOD8jIZs2ASItStQ2gKum8PPC6g/gKyMQk+HaM5N5AkKAh6+MwsK TnUYwIXgfl4VStdXBi4wZdIyKswzh2ShZjQLfVJBDJvCXZgQofTjP8slgoFS9qlNu9Y4 eGFixpqZBa+IJTsLs8zv7Cbnq2mUp7IXkU8f9gmqtFzlKqsrfv4pSPpTMVWE6Y6TJJ3I XHxrWwEolATNhFI4suHnoMLlkuLQbmnQP6cC2vCsrewQopUe8WkCdi4QpaXt2b+u4S0f P8ek4jvPuaRGrRSkuhOeXvU5YmuPaPWAj5JqwPKoJKfaKLFl2SQcsYvEUhfskoFMKvK7 4YSA== X-Gm-Message-State: ALKqPwc6H1j2EpqYEBSu0pEXVs3f0HW0+KGKb/D0sHR8Du2lBsziyhv3 aOU3NJyRI7k/o1Zij2aYOqpbFQUV87k= X-Google-Smtp-Source: AB8JxZpHL5Un6EZ215M9obd9AnEOOpr8fokQG+oBi1/D5W2CszhHl5OlXDyGHntiBSupXKahDPaAQQ== X-Received: by 2002:a2e:638f:: with SMTP id s15-v6mr8547483lje.78.1526763904216; Sat, 19 May 2018 14:05:04 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.82.0]) by smtp.gmail.com with ESMTPSA id c12-v6sm1802957lji.59.2018.05.19.14.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 May 2018 14:05:03 -0700 (PDT) Subject: [PATCH 3/3] sh_eth: fix typo in comment to BCULR write From: Sergei Shtylyov To: netdev@vger.kernel.org, "David S. Miller" Cc: linux-renesas-soc@vger.kernel.org References: Organization: Cogent Embedded Message-ID: Date: Sun, 20 May 2018 00:05:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Simon has noticed a typo in the comment accompaining the BCULR write -- fix it and move the comment before the write (following the style of the other comments), while at it... Reported-by: Simon Horman Signed-off-by: Sergei Shtylyov --- drivers/net/ethernet/renesas/sh_eth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: net-next/drivers/net/ethernet/renesas/sh_eth.c =================================================================== --- net-next.orig/drivers/net/ethernet/renesas/sh_eth.c +++ net-next/drivers/net/ethernet/renesas/sh_eth.c @@ -1481,8 +1481,9 @@ static int sh_eth_dev_init(struct net_de if (mdp->cd->nbst) sh_eth_modify(ndev, EDMR, EDMR_NBST, EDMR_NBST); + /* Burst cycle count upper-limit */ if (mdp->cd->bculr) - sh_eth_write(ndev, 0x800, BCULR); /* Burst sycle set */ + sh_eth_write(ndev, 0x800, BCULR); sh_eth_write(ndev, mdp->cd->fcftr_value, FCFTR);