From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31BEDC433E0 for ; Thu, 4 Feb 2021 01:20:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C617B64E2A for ; Thu, 4 Feb 2021 01:20:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C617B64E2A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ZjEuN18Y2Cn0RsdPnBFf1NsiSNTt97IvRq5xyWlAwwg=; b=NYxbMU4YOoGNogb7h56xpfXPQi 7/g74sBkXKN/36Yx6IFwxJ5alz8Pm5v4zvFccvoM6JUCETbUoTFVjKcbg3rrWE0G/ljQeoPNYvryh /fGQTurhPbjSYSg6tFOD9UtDoPvuVN2dOTHs6IJs9InSSsXh/WlWH3ng/SA912c5iyMToHKedY471 AhOV5Tsd7QgpbMWV0nqoXvbCliCjzq1zbfR3Crzp1tuTof+qPBZ2/VJWNj7NuMBGReF7lrp5thhCd zwBnNFfioXo8eTEDjZOF2dOqmxAR3u0OG8oqoeWegol//BXAlZPZieVHSjxMvlGf+4kYZt+j3XGwx cZgh8OSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7TIQ-0006bh-TY; Thu, 04 Feb 2021 01:18:58 +0000 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7TIP-0006ax-1Q for linux-arm-kernel@lists.infradead.org; Thu, 04 Feb 2021 01:18:58 +0000 Received: by mail-qk1-x72f.google.com with SMTP id a19so1894368qka.2 for ; Wed, 03 Feb 2021 17:18:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BRSeNrAgqYoEdIAaT/E3XS8qfSyBH3EgUU59Y30fA1s=; b=ZAss0ce0fku95ORQy+ibGYidBLcsdTDqWw1eMlcT8L+29e0PCrsgRy09+VdAQlqD0t w3L03foqeCX4ms+DzBr8aiUcBbt79RQLUJXOA1KcYjYeM0eY9leq5l46BdyBpbaK2czN Sw/Vi5qOw3tFt38jA3WMg+9bnfxW+4nXwb/exiZ7LPLucW9BwNnqPm/lpjDjvNblnVxI 4SdeLvCsHiOHYqWJ9ZUTtWdJWwknimfiy4oiGT4u5+Ju717WfjMx58y6VDVib36Ank9G dGOWolWB73ePrCudDeVnOyAmGMSyXyJX7OvEjjkfn9yF59rNDdw6oDHulKFlq8nn5R7W E99g== 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:mime-version :content-transfer-encoding; bh=BRSeNrAgqYoEdIAaT/E3XS8qfSyBH3EgUU59Y30fA1s=; b=C+sgU9oF8ju7v+b6b2E2Tnj4lFiBWn9VVmVYBDo3uUDY9OpLMsCoBpmoeNhqjvyw/a 4oQNs/U8Gzy0eqMi2bpi4ZvBhaVJmm5NqZFYMSML4fOukHVXYGW7Aze4i80NORg9bzHd ZeQ7Bt4Rdgi3R60QQpeRFCp/bBJdEeXGOTG6F2kVij4DipJSJtJ4eSm+pNyTpY4T88z+ v7Rvl/lFz8fcsTgPASQz3xBpXSjF/BqRTCfVfU3hcjYj/pysWcSnPTgSGOGAubC0h7Hy w0MwamSaAXmgGhkq2+D8mIf2dWcBweKfcVe+i0QsPP6CM05IbhlkcHj0irxl+p3Cq3zz DVHQ== X-Gm-Message-State: AOAM530DnYj18LdlkdOvilVpnso0usX9BQEshlAjmkESWchyAZVsTXVV yDFbbd56ipLqGD7gYHLCXYI= X-Google-Smtp-Source: ABdhPJzLTf/Qhr+L0sRCIEXwIUmlTRpWottYJiVdVtcdEGcmSO+elbFSLDO2CoYMpAOeUN4YFWISQQ== X-Received: by 2002:a37:be04:: with SMTP id o4mr5562190qkf.373.1612401534828; Wed, 03 Feb 2021 17:18:54 -0800 (PST) Received: from localhost.localdomain ([138.199.13.179]) by smtp.gmail.com with ESMTPSA id w28sm3007719qtv.93.2021.02.03.17.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 17:18:54 -0800 (PST) From: Bhaskar Chowdhury To: linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2] drivers: net: ethernet: i825xx: Fix couple of spellings and get rid of blank lines too in the file ether1.c Date: Thu, 4 Feb 2021 06:48:21 +0530 Message-Id: <20210204011821.18356-1-unixbhaskar@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210203_201857_179226_3F05A8D2 X-CRM114-Status: GOOD ( 14.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rdunlap@infradead.org, Bhaskar Chowdhury Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org s/initialsation/initialisation/ s/specifiing/specifying/ Plus get rid of few blank lines. Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Fix typo in the subject line Give explanation of all the changes in changelog text drivers/net/ethernet/i825xx/ether1.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/i825xx/ether1.c b/drivers/net/ethernet/i825xx/ether1.c index a0bfb509e002..850ea32091ed 100644 --- a/drivers/net/ethernet/i825xx/ether1.c +++ b/drivers/net/ethernet/i825xx/ether1.c @@ -20,7 +20,7 @@ * 1.02 RMK 25/05/1997 Added code to restart RU if it goes not ready * 1.03 RMK 14/09/1997 Cleaned up the handling of a reset during the TX interrupt. * Should prevent lockup. - * 1.04 RMK 17/09/1997 Added more info when initialsation of chip goes wrong. + * 1.04 RMK 17/09/1997 Added more info when initialisation of chip goes wrong. * TDR now only reports failure when chip reports non-zero * TDR time-distance. * 1.05 RMK 31/12/1997 Removed calls to dev_tint for 2.1 @@ -117,7 +117,7 @@ ether1_outw_p (struct net_device *dev, unsigned short val, int addr, int svflgs) * Some inline assembler to allow fast transfers on to/off of the card. * Since this driver depends on some features presented by the ARM * specific architecture, and that you can't configure this driver - * without specifiing ARM mode, this is not a problem. + * without specifying ARM mode, this is not a problem. * * This routine is essentially an optimised memcpy from the card's * onboard RAM to kernel memory. @@ -885,7 +885,6 @@ ether1_recv_done (struct net_device *dev) ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_command, NORMALIRQS); ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_status, NORMALIRQS); ether1_writew(dev, 0, priv(dev)->rx_tail, rfd_t, rfd_rbdoffset, NORMALIRQS); - priv(dev)->rx_tail = nexttail; priv(dev)->rx_head = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_link, NORMALIRQS); } while (1); @@ -1028,10 +1027,8 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id) ret = register_netdev(dev); if (ret) goto free; - printk(KERN_INFO "%s: ether1 in slot %d, %pM\n", dev->name, ec->slot_no, dev->dev_addr); - ecard_set_drvdata(ec, dev); return 0; @@ -1047,7 +1044,7 @@ static void ether1_remove(struct expansion_card *ec) { struct net_device *dev = ecard_get_drvdata(ec); - ecard_set_drvdata(ec, NULL); + ecard_set_drvdata(ec, NULL); unregister_netdev(dev); free_netdev(dev); -- 2.26.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel