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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84A47C4332F for ; Thu, 17 Feb 2022 16:05:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242935AbiBQQGC (ORCPT ); Thu, 17 Feb 2022 11:06:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242915AbiBQQFw (ORCPT ); Thu, 17 Feb 2022 11:05:52 -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 9CF1429C124 for ; Thu, 17 Feb 2022 08:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645113936; 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=r5nrUKvcX+b7aId+txPEO+zGeNk/6rvUManBpz1jI/Q=; b=IEhO/utE1ko0coidl/bdyLhQzFVfrKeeYRjhuDW3F7qinndDxQzI86SPmt8T9cUWyJxX3/ pmOkYeSjfQQqOt3S/EU7yDxMPyf3EsXLTODMHm0ba6Q3Ks9aBzU4vIsXztguTT0XW/HZjp +ggskBXCQdaaqS8YsZK9EdjTpLaOPX0= Received: from mail-oi1-f198.google.com (mail-oi1-f198.google.com [209.85.167.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-343-UDpHjEtWO52qGB_oBL4J9A-1; Thu, 17 Feb 2022 11:05:35 -0500 X-MC-Unique: UDpHjEtWO52qGB_oBL4J9A-1 Received: by mail-oi1-f198.google.com with SMTP id bj38-20020a05680819a600b002d2f27f444fso10945oib.18 for ; Thu, 17 Feb 2022 08:05:35 -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=r5nrUKvcX+b7aId+txPEO+zGeNk/6rvUManBpz1jI/Q=; b=woT8xjbHZ1k5Dxrpufvassg6um/8IAR2vQgT1kwcCQF1B8OE1Eyang1Dv3tDiFdvYr aYte0Kk5fOKgQTBSl34pKwlWczBrEBVr8FfsPk4BktnW2aVPc7Mu6ZVnCvyGPJ9Je0fZ pdONU+MafvHaHTRAF37YS7VF3eMyjz0UcZcv+ytJzofyeGxHdhyMUiJv6kbcpRMQB+dK FqmgAlhdsG0jFnZnu0pz5w/I9/mxXJwCh89T+4zo1S4h/g0+TCzg9V4qtfANeLjQPN+e T8ETqttograWeUNl+omqIWrCEBVXKIAws/0NssBN0jj/YZQHxcWDr/PEo3PEUpFXp0Tx HJKQ== X-Gm-Message-State: AOAM533mZUHS//REVK9N0rpGkrEu4B8PZoyXOEmDhl9pX3MksZM6mGm+ qpBE3OwBA4RIguKUp5djD48yf43DSnQeapACbR7YqniFO5dS5Aci3fSxk3PT37DWkt2PSYUJTo6 m7WKun8d4+5LGJq/Zxla/aICH X-Received: by 2002:a05:6808:120d:b0:2ce:6a75:b816 with SMTP id a13-20020a056808120d00b002ce6a75b816mr1343420oil.221.1645113934182; Thu, 17 Feb 2022 08:05:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwy6TRBXvKt77O+bo/AS2p4Cq6idyWQ41pZWeBPmN57vJ2tL1XCT1prcOcicuDShC1iyvyuYA== X-Received: by 2002:a05:6808:120d:b0:2ce:6a75:b816 with SMTP id a13-20020a056808120d00b002ce6a75b816mr1343392oil.221.1645113933887; Thu, 17 Feb 2022 08:05:33 -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 p13sm35247otp.47.2022.02.17.08.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:05:33 -0800 (PST) From: trix@redhat.com To: davem@davemloft.net, kuba@kernel.org, michal.simek@xilinx.com, radhey.shyam.pandey@xilinx.com, rdunlap@infradead.org, esben@geanix.com, arnd@arndb.de, huangguangbin2@huawei.com, chenhao288@hisilicon.com, moyufeng@huawei.com, michael@walle.cc, yuehaibing@huawei.com, prabhakar.mahadev-lad.rj@bp.renesas.com Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH v2] net: ethernet: xilinx: cleanup comments Date: Thu, 17 Feb 2022 08:05:18 -0800 Message-Id: <20220217160518.3255003-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Change kernel-doc comment style to c style for /* Management ... Signed-off-by: Tom Rix Reviewed-by: Michal Simek --- v2: Change the /** to /* Add Michal's Reviewed-by: tag 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..c6395c406418 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