Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp292107pxb; Tue, 15 Feb 2022 13:29:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNjqq5uDPLVpeIvcWSo2RkvDgAWy75NhvYQ0YnfD5NpNY82zMtHKf09aG/HyYI1/8OYy+v X-Received: by 2002:a17:906:5642:: with SMTP id v2mr883730ejr.154.1644960578370; Tue, 15 Feb 2022 13:29:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644960578; cv=none; d=google.com; s=arc-20160816; b=TUkXjDm29w4hjf2W8qtuMyCl7RMrl8tNZYnEo8GKolw9D6KUvZl5GFoD90505NvLge RrpWJUGpJhT9ZCkfwaPgefdfmB6RZSYZznwkWOOdk8DNI3a8JhjtVjUdzTvUQiKR/WQX zBy3uoGIhWaRyhN+h9qDex0OWvvgkZemjQ+fpL5BOnxMjB3vcg7EXu70gqeCuZqGna5C IGcn25S8MrBl6cVQylT0O3jcj6a7vDXGhfliWRQJQ6ufRn8fMUEEWjVmferfHQmfa+G1 NtUS0oD/uWEdFrj20OD/jcQLSYqWagR44SUzjjf+BC1EvTHzX7Lp2GViIJcYrGqgjSKl GhMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Khg2zhPKJjAqQNeVp8eg/pB+CGYzc/lWCO2af1oISAE=; b=GYNQHP9u/vby5ZajAO6DvQM7fv1AyNqaU60obqW/RNbCP5SicPHWQXyNaXsnGokQYz CXQBBEFqjlH71He/s1OVelYnrWYArf0MrIJup7EcK9NEq9j1Q0CuauvI7lqihJoZQoxh 5EsRfyXSW7/d5KIQ+jrA/uI6XKHwUYw2ScBaNG9tiJCPmnNImwGdj+6myg9s2UTT3gy7 YyBrR0SV5nkbKEmzC70rgK4+RPbcKyF7U8y1sSS5JSF4fFpqPxP/40DkZf5F02FScdoW rAuOrxKYtTf4D1sy6pHFcRRCGZ9oYbnZsEO5w51bL9oizg3RNidkMCtXNPzzIn+oI76y 6vKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XYh3fs45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he19si17188993ejc.403.2022.02.15.13.29.14; Tue, 15 Feb 2022 13:29:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XYh3fs45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243368AbiBOTFR (ORCPT + 99 others); Tue, 15 Feb 2022 14:05:17 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243357AbiBOTFP (ORCPT ); Tue, 15 Feb 2022 14:05:15 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AEF45F94F3 for ; Tue, 15 Feb 2022 11:05:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644951903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Khg2zhPKJjAqQNeVp8eg/pB+CGYzc/lWCO2af1oISAE=; b=XYh3fs45rl90szswkwL2A+L5OdkrRx/LhVfT1ItLSbO919IQIgl7i+sQnh25GwhFsuNUMn MpW5Qf9UA43m4Jp79+fL8JmBK1FrzlujMMe3m5620H/xx5a5TEaYRiZ6ckjifyhhXxI8Ew Umxwsdyy+xjOQf4jCDRUUCL88UfzCSM= Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-249-PXpqSKESOdSz5zdK2ZwSJA-1; Tue, 15 Feb 2022 14:05:02 -0500 X-MC-Unique: PXpqSKESOdSz5zdK2ZwSJA-1 Received: by mail-oi1-f199.google.com with SMTP id bp18-20020a056808239200b002ced7afbfd2so5143457oib.19 for ; Tue, 15 Feb 2022 11:05:02 -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=u6y0ssgRHDtDPtevxT3Rd0wvvuodrtKN7a3PPTMcaHQ/IReHkL0Iy3cxnv/pUE+nMf G2l3yrnwG3MhE7ApaF6RlVMpaZ4aT4ZF7Oj7g4DN+2WR6oL8hdZSyPqGFw8WfL5Z1Bk0 DK2IEv3hThLenPEY++4bMPwOa5GmTOvG1dHPbHj08dT85VqzdX6LTD7ATVTm0IJRSAFS cs7DXcA6oRK6PAHVWeTpXLdggLKAxQtYgjZXxBYAx9W2XezFCA2Z6REtADmE9F9Lj+oi ELXJ7LOU8a9Sgq2dQ58oiWZTGFnw1EtJ8yMvqmXGDI/xd1gHYKw2bgeeDJtnDnRggv5O frTw== X-Gm-Message-State: AOAM531ppUxPHB2eES3lHuaK7JkpGdNPk09GTorgOzMQP6GRMndzXXGR bKuEEHNqMqxH0ix4AUcgprfN5xtcGgG+/ubZYPqK7+zaz4SULDYuEWsoUIqVxsSdnwt8wL7sP0y nQ72EsKI2lGqyVXaJvkiE8KCg X-Received: by 2002:a4a:c98a:: with SMTP id u10mr95155ooq.51.1644951900588; Tue, 15 Feb 2022 11:05:00 -0800 (PST) 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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 -- 2.26.3