From patchwork Mon May 15 08:56:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 93978 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6776041vqo; Mon, 15 May 2023 02:11:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rfpgVO1klJrGgiBvVsgVmRCO86WCuWfAP6VMYV15JP5FEBQppNzyJ001T6v5cvQKUr0dC X-Received: by 2002:a17:902:d48d:b0:1ac:8835:b89b with SMTP id c13-20020a170902d48d00b001ac8835b89bmr30640221plg.5.1684141880104; Mon, 15 May 2023 02:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684141880; cv=none; d=google.com; s=arc-20160816; b=cbJxZmazxJ5n5YUFYk2lBMNPzXnir5uP9+xBUEyngW1c/DQRafHgoxQMhBq4Tw2Wwf WO1/J+aU0Qn53UHusIglNaU50rBsiOKv7OdxmTfzWueAH+MV3SJJoEHoVC+XLWO+O81X fKzA2gDDU1MOH4XMDY49KxdzHFUMdfjqgbzWcuwP1AFG49nRdMvHOJTu8O9hQ9+UU2jb gDtwvcEJVkTsiyW9PcwCA/TdolmEw1wyVzTCeg/1ganVQDtIq6YZL/BhkVZdSJD+c+29 H3G9iQ4ASG4d+4Y2pg93ZelKOoMN+eE99aj5Y4eOpUGou9icUA1h5O9Ao52mNY1efD1P h8lw== 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; bh=Oezadoxiuc8aAxrSjgmF/DPGapqusKkeoRfIBMpeevc=; b=NSgwCIBRXtV99HncxhHY9fmCnYHQw99rkoR1FlK3xoS3ABGF9h04yR39sdMrHFmSF3 Q6PJENd+TgcpydIVMRgi2EKJSpVQTMRoq9AXyxBGI9i0qViF+U4UiVnonTLEy1UODiLx IXytpafd9zS3uk1FD0FYAQqJpg0v3xWuxrz7p5+5Cps0aFkHIsTVnSDcN899fIwHqw7A I9PYZly0GEwhCpBKBRd3+OyBJkKdg6fFi3llxbF1cbJTX6s8yc9end/hjJjgqGGaR39E f6PIDCX7oIuUpNgi541C+0ZTQ5sNa1fEi3QEayrIL89Dv+R85WsRwrGvyqCaE7jVDw/5 hYrA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902b40100b001a63af5f8d8si15126321plr.4.2023.05.15.02.11.07; Mon, 15 May 2023 02:11:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238540AbjEOI5A (ORCPT + 99 others); Mon, 15 May 2023 04:57:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238412AbjEOI46 (ORCPT ); Mon, 15 May 2023 04:56:58 -0400 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 274F3C9; Mon, 15 May 2023 01:56:49 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VifMYvK_1684141006; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VifMYvK_1684141006) by smtp.aliyun-inc.com; Mon, 15 May 2023 16:56:47 +0800 From: Yang Li To: davem@davemloft.net Cc: kuba@kernel.org, edumazet@google.com, sgoutham@marvell.com, gakula@marvell.com, sbhatta@marvell.com, hkelam@marvell.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH net-next] octeontx2-pf: mcs: Remove unneeded semicolon Date: Mon, 15 May 2023 16:56:45 +0800 Message-Id: <20230515085645.43309-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765950755767676385?= X-GMAIL-MSGID: =?utf-8?q?1765950755767676385?= ./drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:242:2-3: Unneeded semicolon ./drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:476:2-3: Unneeded semicolon Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4947 Signed-off-by: Yang Li --- drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c b/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c index 8eaa50d0f668..b59532cf53ce 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c @@ -239,7 +239,7 @@ static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, cipher = MCS_GCM_AES_128; dev_warn(pfvf->dev, "Unsupported key length\n"); break; - }; + } policy |= FIELD_PREP(MCS_RX_SECY_PLCY_CIP, cipher); policy |= FIELD_PREP(MCS_RX_SECY_PLCY_VAL, secy->validate_frames); @@ -473,7 +473,7 @@ static int cn10k_mcs_write_tx_secy(struct otx2_nic *pfvf, cipher = MCS_GCM_AES_128; dev_warn(pfvf->dev, "Unsupported key length\n"); break; - }; + } policy |= FIELD_PREP(MCS_TX_SECY_PLCY_CIP, cipher);