Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp319425iog; Thu, 30 Jun 2022 01:09:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sOdPnJUkMDetzgpGguUEWV0lvOjyAd4gkM/cLA6JdlNh9YXZfsPXE46dXIyQhON6lnnpGf X-Received: by 2002:a17:902:ecd0:b0:16a:5222:3a97 with SMTP id a16-20020a170902ecd000b0016a52223a97mr14463148plh.139.1656576585938; Thu, 30 Jun 2022 01:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656576585; cv=none; d=google.com; s=arc-20160816; b=ZtcjmzOFwUQWFbF8xysgUvK9p7dDg5ohWKWuHAhrOyny6AQTald2fUiBjk6/JuXy/e 2nB9tuEHXSX1D0+Ib3MqTzj0Pz5zbCifuhK5FLugBe/V0fB8YkqyaQc+sCb1m6dZrvDj T1Tp/yd015bFATXIDxcN94sUOp7FHQa10k++zTrlUBC1deFl8Kh1zN1L+Kzo6/flc4YB zLYEnByOqsywJYfLDUfYL00jkGZMeSbp6CB71CyAPb7MUUG6RQ6Z5pOr6ekk6sPB4Vr/ 7uMfowZPVW/evGJZaSv4ulo9uHIgJ3Ppf+8Rbm08xBq3ppFBMLxVPRUYm+u14O0OlV/c xIkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=9rOJV9o4gwcuO1Q9GLG9JmQ6Q/z0rtcix2kDp8w90d4=; b=wnOI73EXnihqpLViePK6Ognc53wrULTMpbXUNEjBdzipRKZVMVtV/XXJIFSpDtncLC N7WsSKH3dnokrvFWLSgKQviBwDemohANnIcncECqhshHEgoMXSWaGOWgJRdlFhHd4QEP WLjHppfJYRcYqrhECJI/v79KIceMoGTHnoAZ0jMWNFjt8i2zmMqsbrUziPBKx324Q3Cq hEeP+irMVvTXfJLqgyGqB6F8aZcLcz8amciZXUboSHhnv7rK1cteUX8Kkm/29eIoGBus TcpO0oJQj9pRiOhXS2udn2cuV6ayY+gwsO4wGonTF810uikw5LM8sNWy5v1TR4MAC+5D GybA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r3-20020a170902c7c300b0016793c0c617si21776449pla.355.2022.06.30.01.09.34; Thu, 30 Jun 2022 01:09:45 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233087AbiF3HnJ (ORCPT + 99 others); Thu, 30 Jun 2022 03:43:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232259AbiF3HnH (ORCPT ); Thu, 30 Jun 2022 03:43:07 -0400 Received: from smtpbg.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60E9A3B55A; Thu, 30 Jun 2022 00:43:01 -0700 (PDT) X-QQ-mid: bizesmtp68t1656574957teobvpan Received: from localhost.localdomain ( [182.148.13.66]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 30 Jun 2022 15:42:28 +0800 (CST) X-QQ-SSF: 0100000000200070C000B00A0000000 X-QQ-FEAT: hN6wzL7d0UsiEnMr6xOtAk/cLcddHpnYkgtiNC0ASRaL0Fh9mmdnfs2dExQbN BDYRg5ebkXbQBxHJqiyHPRZdjxDusFvqA0/4EOctmjHPKYAzAxVxoEO+/k8awg8AeZ5k5gY FZR4N+gBdtbhUGzjHWHjvNHli8r65HXWKyBkzGwUjoWMKncP6JVNuht74s3FWSMOIEaBYnI DMmaCdOb7FtqA4xs7vaKqsdXkV2NN3oiegbooCm/lQu5YM+YBKsub7LK0ZIkgDIxWp9k1nu IKh+W16cla98FVDkX2LpgVrx6DjTJ9o/cc2/Dam+8gQCLSBozDEi5YoEoxDMZlzY7crUSMA wiywtLg4T+AGDsAUJw= X-QQ-GoodBg: 0 From: Jilin Yuan To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: idosch@nvidia.com, petrm@nvidia.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jilin Yuan Subject: [PATCH] mellanox/mlxsw: fix repeated words in comments Date: Thu, 30 Jun 2022 15:42:21 +0800 Message-Id: <20220630074221.63148-1-yuanjilin@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=no 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 Delete the redundant word 'action'. Delete the redundant word 'refer'. Delete the redundant word 'for'. Signed-off-by: Jilin Yuan --- drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c | 2 +- drivers/net/ethernet/mellanox/mlxsw/core_env.c | 2 +- drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c index fa33caecc91d..636db9a87457 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c @@ -1164,7 +1164,7 @@ EXPORT_SYMBOL(mlxsw_afa_block_append_vlan_modify); * trap control. In addition, the Trap / Discard action enables activating * SPAN (port mirroring). * - * The Trap with userdef action action has the same functionality as + * The Trap with userdef action has the same functionality as * the Trap action with addition of user defined value that can be set * and used by higher layer applications. */ diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_env.c b/drivers/net/ethernet/mellanox/mlxsw/core_env.c index 34bec9cd572c..0107cbc32fc7 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_env.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_env.c @@ -180,7 +180,7 @@ mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, u8 slot_index, } else { /* When reading upper pages 1, 2 and 3 the offset * starts at 0 and I2C high address is used. Please refer - * refer to "Memory Organization" figure in SFF-8472 + * to "Memory Organization" figure in SFF-8472 * specification for graphical depiction. */ i2c_addr = MLXSW_REG_MCIA_I2C_ADDR_HIGH; diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c index 10ae1115de6c..24ff305a2995 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c @@ -15,7 +15,7 @@ struct mlxsw_sp2_kvdl_part_info { * usage bits we need and how many indexes there are * represented by a single bit. This could be got from FW * querying appropriate resources. So have the resource - * ids for for this purpose in partition definition. + * ids for this purpose in partition definition. */ enum mlxsw_res_id usage_bit_count_res_id; enum mlxsw_res_id index_range_res_id; -- 2.36.1