From patchwork Tue Feb 15 19:04:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12747524 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8147C433F5 for ; Tue, 15 Feb 2022 19:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=eEVwsTxeCBN9Gmf7Mlaevv0QP5Aqj9QZdjxZ0py7qgU=; b=gKuv6NGG+1lOkg eJbGB1zmWRG5Vy2OvzdlUsEe4sT0+Tm7p1eTkonZx9FG0M1HSDAscD+cmjqYW9ilKjVwAKn8bs4Y8 AtLThutH3IRzqwN4FPaueDhXWhm6yBlLf7VIFVGKpK16+aL3F0OXEKMcydMSzZEzBiA0T+u0XmJHb 1ILsOrEaOW2Pf8t/R0sAgeuNp0XrdvEqlT+sc/gc1Ot8W0lxo/4AV6c6O7MGKVwdZfIT0N1KyOc23 VE5K07els2GldsnJsb3bB17Fl9s4DkETPT0w58xNE248qp+XRD4yctQzeIxs3oYTRwbv1f3FDPKXs EYk1K8D69VJrIja0Isaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK38O-004DHY-RT; Tue, 15 Feb 2022 19:05:09 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK38L-004DEP-3P for linux-arm-kernel@lists.infradead.org; Tue, 15 Feb 2022 19:05:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644951902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Khg2zhPKJjAqQNeVp8eg/pB+CGYzc/lWCO2af1oISAE=; b=g1Uli4oGs0GhA8RPMQc0faaMJSs/BrwU6J6j1LLOOZMZVMgUBkDtAKiOnVWLN1LemQaNF0 un0hc4s0WxWqcuAcLYNFSAS2oyWlkD32CvnndW54ZaKBjWZQgfkwI0Ii4FHN5oLkmQ8Ysm yx64LZ30pNbO7ymmwEI+6o5rjOrzRow= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-461-DhvD4XwJPjicQ0sTsOeRfQ-1; Tue, 15 Feb 2022 14:05:01 -0500 X-MC-Unique: DhvD4XwJPjicQ0sTsOeRfQ-1 Received: by mail-oi1-f197.google.com with SMTP id bi18-20020a056808189200b002cda020b174so5134875oib.20 for ; Tue, 15 Feb 2022 11:05:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Khg2zhPKJjAqQNeVp8eg/pB+CGYzc/lWCO2af1oISAE=; b=wXe+zOqiC0k5gp78gWq/kE+FEAgFpgRWYEf2XcxU7fKauHSlE7+7g7L+7nuqiU6E3Y kArM65cWcvmUQnRgRLhDczkvU1Ghu2NP4n4CmViTOwEE/NUB7rP6EvI+ffGABMg3MbzU 79Jm2PvIXN4Au8KnCLqdy7W+0r5mm8W8KfVaqh6wS0ASStHyMuSNY2DrPtswAomhe9JC teUHnWSsmPwbbW4RW4yxbksSdgPhKvhCn64fvIj7HbvoYsm84oud8XN98jLQOkSP5lJF Rp8S3RjsW5XB9Y2lSjCQMGrjeGnWsQw7NHzcueRx/d1z6gYJOJg9gi8KtAbc1A6K2j7/ i/3A== X-Gm-Message-State: AOAM530rtEv40t/TXdkEwc0BARRkYPjpFeT849uqbGFRfTxYk3h6r5ii NFeW/MfaaO0urGUr24cwtasXI1v2XJNmqF5/MBuEuk2v6Zv5LTh97H96OndX5FIuLWFLY7XAGzc vagt9r7Ri7l3XUXYJ8XFDrukXerIgTjvk/1g= X-Received: by 2002:a4a:c98a:: with SMTP id u10mr95161ooq.51.1644951900589; Tue, 15 Feb 2022 11:05:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvdkhD/V9LSyFyY/54DrQA0Tk9oyNpd+C13fNRBanqqrOFL+5tgNZyV5oRpwFBG+7STKYwvQ== X-Received: by 2002:a4a:c98a:: with SMTP id u10mr95146ooq.51.1644951900365; Tue, 15 Feb 2022 11:05:00 -0800 (PST) Received: from localhost.localdomain.com (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id d1sm12295817otk.70.2022.02.15.11.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 11:04:59 -0800 (PST) From: trix@redhat.com To: davem@davemloft.net, kuba@kernel.org, michal.simek@xilinx.com, radhey.shyam.pandey@xilinx.com, gary@garyguo.net, rdunlap@infradead.org, esben@geanix.com, huangguangbin2@huawei.com, michael@walle.cc, moyufeng@huawei.com, arnd@arndb.de, chenhao288@hisilicon.com, andrew@lunn.ch, prabhakar.mahadev-lad.rj@bp.renesas.com, yuehaibing@huawei.com Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net: ethernet: xilinx: cleanup comments Date: Tue, 15 Feb 2022 11:04:47 -0800 Message-Id: <20220215190447.3030710-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220215_110505_234127_949ABB3A X-CRM114-Status: GOOD ( 16.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Tom Rix Remove the second 'the'. Replacements: endiannes to endianness areconnected to are connected Mamagement to Management undoccumented to undocumented Xilink to Xilinx strucutre to structure Signed-off-by: Tom Rix Reviewed-by: Randy Dunlap Reviewed-by: Radhey Shyam Pandey Reviewed-by: Michal Simek --- drivers/net/ethernet/xilinx/Kconfig | 2 +- drivers/net/ethernet/xilinx/ll_temac.h | 4 ++-- drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +- drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/xilinx/Kconfig b/drivers/net/ethernet/xilinx/Kconfig index 911b5ef9e680..0014729b8865 100644 --- a/drivers/net/ethernet/xilinx/Kconfig +++ b/drivers/net/ethernet/xilinx/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only # -# Xilink device configuration +# Xilinx device configuration # config NET_VENDOR_XILINX diff --git a/drivers/net/ethernet/xilinx/ll_temac.h b/drivers/net/ethernet/xilinx/ll_temac.h index 4a73127e10a6..ad8d29f84be6 100644 --- a/drivers/net/ethernet/xilinx/ll_temac.h +++ b/drivers/net/ethernet/xilinx/ll_temac.h @@ -271,7 +271,7 @@ This option defaults to enabled (set) */ #define XTE_TIE_OFFSET 0x000003A4 /* Interrupt enable */ -/** MII Mamagement Control register (MGTCR) */ +/** MII Management Control register (MGTCR) */ #define XTE_MGTDR_OFFSET 0x000003B0 /* MII data */ #define XTE_MIIMAI_OFFSET 0x000003B4 /* MII control */ @@ -283,7 +283,7 @@ This option defaults to enabled (set) */ #define STS_CTRL_APP0_ERR (1 << 31) #define STS_CTRL_APP0_IRQONEND (1 << 30) -/* undoccumented */ +/* undocumented */ #define STS_CTRL_APP0_STOPONEND (1 << 29) #define STS_CTRL_APP0_CMPLT (1 << 28) #define STS_CTRL_APP0_SOP (1 << 27) diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index b900ab5aef2a..7171b5cdec26 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -1008,7 +1008,7 @@ static void ll_temac_recv(struct net_device *ndev) (skb->len > 64)) { /* Convert from device endianness (be32) to cpu - * endiannes, and if necessary swap the bytes + * endianness, and if necessary swap the bytes * (back) for proper IP checksum byte order * (be16). */ diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index de0a6372ae0e..6eeaab77fbe0 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -537,7 +537,7 @@ static int __axienet_device_reset(struct axienet_local *lp) * This function is called to reset and initialize the Axi Ethernet core. This * is typically called during initialization. It does a reset of the Axi DMA * Rx/Tx channels and initializes the Axi DMA BDs. Since Axi DMA reset lines - * areconnected to Axi Ethernet reset lines, this in turn resets the Axi + * are connected to Axi Ethernet reset lines, this in turn resets the Axi * Ethernet core. No separate hardware reset is done for the Axi Ethernet * core. * Returns 0 on success or a negative error number otherwise. diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index 519599480b15..f65a638b7239 100644 --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c @@ -498,7 +498,7 @@ static void xemaclite_update_address(struct net_local *drvdata, * @dev: Pointer to the network device instance * @address: Void pointer to the sockaddr structure * - * This function copies the HW address from the sockaddr strucutre to the + * This function copies the HW address from the sockaddr structure to the * net_device structure and updates the address in HW. * * Return: Error if the net device is busy or 0 if the addr is set