Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6257692rwb; Sun, 11 Dec 2022 22:22:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6yXFI+fvPN7UtyvGiZIjKGTnmanBn+iF+4Q+yJHb7HFeCUZnF9BJ2qJjFCx+F09o49xda+ X-Received: by 2002:a05:6a20:3d22:b0:9d:efbf:48e8 with SMTP id y34-20020a056a203d2200b0009defbf48e8mr24062492pzi.44.1670826137896; Sun, 11 Dec 2022 22:22:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670826137; cv=none; d=google.com; s=arc-20160816; b=aYYkSQwYSrcZ8Opa1UU3FUKE0H3OT6lzxZt1L4gYRuQT1ksTyA4DT3ojGKn7uqZVBJ Gf4UYWaL7t95iwF3F29rJugcX7w1Z04QnC4LBHpJ2tLyCZNWZ438NAXxbj5ajFV1m/TI qbaMHAeT8rr35D5vuV2WHsXuEPp6mh5bAgPlECW3rmJCD0YGHlPBrr1l0by/fKBwaWt/ 8Fh8B0lNTG1BJ4MIyAYnjTcKnJRVmCSEqb5nmIFZ3rXQILVWhWmJlkHtktlNEVdjxTyq bONHyHNfdWYlaxWIb9dHQKWhNbNhkAkyXhDs3f3maQYuN0/YCKxc2G7HxJnNPARr4YFS +8jw== 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=6E8JLkIuwX6lgmpl8UvV9jVYjkJTWsOAx6ZNLSsA6NI=; b=1JHQHI8Jsy3KLp87iJJArAfRDOork4NCNG7+Ia1JneWppYi3/hvsaU9VZwvdbI8cOR dVPRhVsa0U6qQp7xVd4bLs3PpecY4Gy2oB34t/NCaBsOx4Qx5YSJOMXlOxGQj6t6U8T1 qeWkGKaK0aQrN3x+CjK91A6KL5tbCZHdQL5cA4h6wY2nke10yiOqz+pHGLwiOElzDX+u 6b/WnsBANlHC3R/CBH0QeZRNBSKMP8fiX8zNItY83hPBY6UD08VUWlzx9zZxU+9aHICH WEcYnkKJ9absGXxlI0TDO+vOwQBul9UhOdyHlUqm8d5RwwJ7+aufTTD+75zpErSA/FpQ lpMQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x70-20020a638649000000b004794a80d855si2328579pgd.708.2022.12.11.22.22.07; Sun, 11 Dec 2022 22:22:17 -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 S231178AbiLLF6a (ORCPT + 75 others); Mon, 12 Dec 2022 00:58:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbiLLF61 (ORCPT ); Mon, 12 Dec 2022 00:58:27 -0500 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27FB41130; Sun, 11 Dec 2022 21:58:25 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=0;PH=DS;RN=11;SR=0;TI=SMTPD_---0VX1lmfb_1670824695; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VX1lmfb_1670824695) by smtp.aliyun-inc.com; Mon, 12 Dec 2022 13:58:23 +0800 From: Jiapeng Chong To: shshaikh@marvell.com Cc: manishc@marvell.com, GR-Linux-NIC-Dev@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] qlcnic: Clean up some inconsistent indenting Date: Mon, 12 Dec 2022 13:58:13 +0800 Message-Id: <20221212055813.91154-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 No functional modification involved. drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c:714 qlcnic_validate_ring_count() warn: inconsistent indenting. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3419 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c index 1ee491f78c6b..c1436e1554de 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c @@ -711,7 +711,7 @@ static int qlcnic_validate_ring_count(struct qlcnic_adapter *adapter, } } - if (tx_ring != 0) { + if (tx_ring != 0) { if (tx_ring > adapter->max_tx_rings) { netdev_err(adapter->netdev, "Invalid ring count, Tx ring count %d should not be greater than max %d driver Tx rings.\n", -- 2.20.1.7.g153144c