From patchwork Mon Feb 20 06:59:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 59294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1169041wrn; Sun, 19 Feb 2023 23:07:49 -0800 (PST) X-Google-Smtp-Source: AK7set8UXdKQ/gM9g0FPwx0FYeleRlT1erOgn/69pSDOpUhI2LXcN6qAbJpH9pYosJpWLV0n9xre X-Received: by 2002:a62:14c7:0:b0:5a9:c43a:580d with SMTP id 190-20020a6214c7000000b005a9c43a580dmr516398pfu.26.1676876869478; Sun, 19 Feb 2023 23:07:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676876869; cv=none; d=google.com; s=arc-20160816; b=e4U59ytkquStSTuTA6Rv60lzFzNuuDAqETDGsIfvbnQ7Bh3Q2jP7x/TeO8113K8Kpz nCWvIbcXU2WBAcdiemIHU8rKmDzFXO1M4NRAZsoujnfAy5SDD8F9Dnil1hnC/1kYRoP5 JGoqffw0lqJHrBi86AB9jC+5EUZu6/2hUzuqIKrKif+TBqvhZd52+spcSl5krI94gHFj pQkuZ6422aL/1vGShzsof7LlPs80/0BFtTCkD62xF6LPF0AwG0EeMpFOvu0FHBxHDAVm b3zgoMeKiN4c6/f8yq5UNNGjfb6/ApnUjEIhtOB0zLJpHUYZ4jOCPPFXxUf0IJDdi/q2 zJKw== 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=kJTj3Oe1XwGre+yA7C0gKWY0BtgBYk4I2KO6EOUl+mo=; b=nNjZEEs9y7PWkGszazpbUndnlleH9ZYGFH6JwO7o2APewc/m+OSgdTSdFxgzpGVIXK gHanf1KJKzFSlmWial/1426oTBywO/yjrmvz0APDxb3wi9q8tOg8KBLzbgebtvc/kdkr I8cDNDZ4fQs5yvPQIgLw5/2/oPEB2guvWoHIoMVuLs2zAQv1yWWnLSornaLhLpeRoByX oQlRjZZZKJ7KsnVvrcmR0uBKWfMEFArzNm6JnHTEpoq3taiqHlV18Zlp1dYag6RpYDEm ER22P7oT182XSOOGUi3Z8Ky9eljDl1F+pqbzjOh1qqZ8XvdHq/Kf5rXLVYd917ujTU3w LlnQ== 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 t9-20020a056a00138900b00593a808158esi595248pfg.156.2023.02.19.23.07.36; Sun, 19 Feb 2023 23:07:49 -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; 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 S230035AbjBTHFr (ORCPT + 99 others); Mon, 20 Feb 2023 02:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230387AbjBTHEk (ORCPT ); Mon, 20 Feb 2023 02:04:40 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D43131BD2; Sun, 19 Feb 2023 23:04:11 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0Vc0kkcN_1676876399; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vc0kkcN_1676876399) by smtp.aliyun-inc.com; Mon, 20 Feb 2023 15:00:00 +0800 From: Yang Li To: kuba@kernel.org Cc: davem@davemloft.net, ecree.xilinx@gmail.com, habetsm.xilinx@gmail.com, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] sfc: clean up some inconsistent indentings Date: Mon, 20 Feb 2023 14:59:58 +0800 Message-Id: <20230220065958.52941-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,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,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?1758332840125686353?= X-GMAIL-MSGID: =?utf-8?q?1758332840125686353?= Fix some indentngs and remove the warning below: drivers/net/ethernet/sfc/mae.c:657 efx_mae_enumerate_mports() warn: inconsistent indenting Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4117 Signed-off-by: Yang Li Acked-by: Martin Habets --- drivers/net/ethernet/sfc/mae.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/sfc/mae.c b/drivers/net/ethernet/sfc/mae.c index 6321fd393fc3..2d32abe5f478 100644 --- a/drivers/net/ethernet/sfc/mae.c +++ b/drivers/net/ethernet/sfc/mae.c @@ -654,8 +654,8 @@ int efx_mae_enumerate_mports(struct efx_nic *efx) MAE_MPORT_DESC_VNIC_FUNCTION_INTERFACE); d->pf_idx = MCDI_STRUCT_WORD(desc, MAE_MPORT_DESC_VNIC_FUNCTION_PF_IDX); - d->vf_idx = MCDI_STRUCT_WORD(desc, - MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX); + d->vf_idx = MCDI_STRUCT_WORD(desc, + MAE_MPORT_DESC_VNIC_FUNCTION_VF_IDX); break; default: /* Unknown mport_type, just accept it */