From patchwork Thu Feb 17 16:05:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12750398 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 5FEA8C433F5 for ; Thu, 17 Feb 2022 16:07: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=9zxCa2knSRLQvEgZMvYzFIwuWzKsrFxSRTLtNXCsRa8=; b=Xfqmq+PPtwT7eN iwaFhIJ1HdGNJ/wVTqR7F1TaVOjRJtKXjFibBAQuMT7q5ceorvFgfue+n4BG3OD1Ts61gTTBxHpfq 7ApgQtratUafYHGF4fEAH1auKfxzQuMHjEkHunjujxrkKajwJZt2T7cZ+bhpxVaH1PPcNURuwuD8g QBf9I5Thnw1V0k6/PaFNTKJ5ej8X4/bNVCxgg8/iz+VbBKnjmsamZrv4uNQg38t+UFfx4axGuAATV w146DQlVJfjc/DF0lhyC478W1w6cxm2TYM1TjJssJL4+baRu08AqCIiY4wdWLFs7uoTOPI/+gozrK GDUY9C0V5zOEGSJtXY4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKjHw-00BNXJ-JI; Thu, 17 Feb 2022 16:05:48 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKjHn-00BNVf-US for linux-arm-kernel@lists.infradead.org; Thu, 17 Feb 2022 16:05:47 +0000 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-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r5nrUKvcX+b7aId+txPEO+zGeNk/6rvUManBpz1jI/Q=; b=U54p6FFeUOqgko7y7uRpY/Rv9YkbjEdSuAmXeXRSViWPGq8efIvsChawvNcFbzuQUd6xuG ERQ8a6fGNvnFB0f+bLdg6cp5CHip/HAQ0QzxMClDNGiBPx64uA3+m6p1nv8ohU0J39AEqt mVQpUDHLXmC7UmdBlI96q1fjBsg5G5w= Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-470-2s_CuuorOD-feNAe0cP20g-1; Thu, 17 Feb 2022 11:05:35 -0500 X-MC-Unique: 2s_CuuorOD-feNAe0cP20g-1 Received: by mail-ot1-f72.google.com with SMTP id l3-20020a9d4c03000000b005ad1283cdabso33586otf.6 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=h2HWfIIWWU7LNpomIFaxfW2Hw2L1OKY/JOGU/quoiWqEohr+DgUOTdsE1+ZF4ce4rp ZPpt4o6ovalxZlHlgpTSVZmfX5ALpcKdZZd+PfgSwL/Nfuw5lVyMjpcLqdY2XVUQXsFm QqkEScH18nxeBCclHekF8HprFdTWvR0UT4EgzuQy92iZ6ABAc1PHT3wPZsIS6kfN/M/q VsIvsqurcCFGK0qPon/FQUoclGgbQ+9Km5JYhow0xDE6j8VJnJmoYLCq0WmwAbfkKSk/ S/A1qtK+4GK1qYitz3XWdvErZgSIwsMZuRO2nNvWym8Rg9GLgC6Lzcez35X6gLRcfpC0 wC8g== X-Gm-Message-State: AOAM531gTZmAilRaArFh4mkWXKiuxT5Fabjvnom2pAXZcDB7vskIgyeu EmjY0snBRuByGPc5/qAIdYhG+luqsbbDnGkJrDF7VqyN0/nnkbRbVgtP4aE7SlaemQPDGFgFY1k sispr1ikTHa0AqgAIfWT1HgjoBKKIywW9NS0= X-Received: by 2002:a05:6808:120d:b0:2ce:6a75:b816 with SMTP id a13-20020a056808120d00b002ce6a75b816mr1343413oil.221.1645113934177; 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 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-20220217_080540_082070_BB9E4339 X-CRM114-Status: GOOD ( 16.13 ) 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 Change kernel-doc comment style to c style for /* Management ... Signed-off-by: Tom Rix Reviewed-by: Michal Simek Acked-by: Randy Dunlap --- 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