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: 916931 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=cogentembedded.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b="P8e6qw+H"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40pHcP34Gbz9s4b for ; Sun, 20 May 2018 07:05:09 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752618AbeESVFH (ORCPT ); Sat, 19 May 2018 17:05:07 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34099 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752515AbeESVFF (ORCPT ); Sat, 19 May 2018 17:05:05 -0400 Received: by mail-lf0-f68.google.com with SMTP id x145-v6so6736105lff.1 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=LeXFd0Pu1Q4mmNHPTpssBQQi4ybV7cMpyC8lEaMwuRU+1P6YIdzidqeD0iHDyg6TG1 vcn05MNaQqix9ozpw0ar0Th2tJIRyhpKn5PZ7a27VicuCp0S/CA5Kfyq0jqhvXccgscq tNvW9fOeyTO8i3g972pps4cIy0jH8GY0xSD8Ua0hKqgSQifGckINvNIoU7pu9JDlkyU9 mQHz0LmZB+VlAOX1KUUdAstJTet1VwvuPQE3kSKUeIdiYPXUxRYMEpCbYs7G9vx7mADf 16YNSSxDk8vKu7TiaKNn3KNG5pqrhBNjMaW/OhZj9pK2OKUcRNdEO2Fp+E70IxqzZYy0 Hzhg== X-Gm-Message-State: ALKqPwcdLUvFBlUIxsL9EZmEhjgeL4xolxiz2ezZ8n16y/GxqQGsOWxe Y9X3sAK8BV1iu+Nc8DdP0LUmlYfwY5Y= 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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);