Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2594337rdb; Fri, 22 Sep 2023 03:22:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4V3hMEJEC0KqvV5cjLb4+pRQsxTb0UjGyhwXycB6vFaCxu/J+uugHXLrZm2UdoxSk2D8D X-Received: by 2002:a05:6358:722:b0:142:d71b:59ce with SMTP id e34-20020a056358072200b00142d71b59cemr9190210rwj.26.1695378123988; Fri, 22 Sep 2023 03:22:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695378123; cv=none; d=google.com; s=arc-20160816; b=rOa/guyNj9379Lj4TDiM0kLEDeA60aonzpr9IrjjBwu2ZYkEiJO7h9KAvnEqxpkXn8 VY9X2Jrno8hVWucTKgc9vLJbRB3gL6xd4vFLA5t0kDZe4/5ZvLf6AbLFfj3SvceQtx8l wL/lb7kQpjwEc/CJghWzgKv6T7CMU5+HSyGcG6X292VlCef5o5HP1DoI+CQovdmyuThR tgOuOKid0nRmLz71aUX/C6yOrfFNBGnJsSea29u34iSTudB2hPwv2x4tDrdoQrwPpT4C qun+tr4mWJIzt+ELLdqo6WkoCpRY6a+7exSxGUw/ucfPiUu1lKRuYYrFGvcRIua4jDrL 0uqw== 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=cvJK9XAoYPc2BWIrj6tfmlfRMgTNKOeZ+zLxcVoXRd4=; fh=1xsVSijZnWwI+X2TNPKVngCMcFfFzE/UdCYEPNxkssY=; b=NDNmaiSgZI2oOOMOJnSGt/lXB1u5IuGfwTmlS1RbQY3IoGt0tKpWKKbepkztnswXuP XgWvOeIddfjGxEXaqcDPEHYY9/S1h8UU8MISkJRADyAAzx7CL7GhBaCxRXo2uv1iWV1R K6ZqUPQYEwdpa2iycrk+T3/GbjQImOssO6Q/s7irVUISvz97aHyG/GBo0IwlWSqs3MhD Z5sa/V6E720c9GgynA7ZlDZbNpfBA8Ow+VTXTONNjocN8bYaOliw94myhkAO6rHduRYD i4Lph/PpxpbR7KusqVA8hlkg8oLbdPQK5PCqV8BAlgZyYwFO+LjLe4Ir3C99b9u1PKF2 9zjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n20-20020a637214000000b0056fa98a8542si3421375pgc.227.2023.09.22.03.22.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 03:22:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5A2EE80425A9; Fri, 22 Sep 2023 03:07:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233171AbjIVKHR (ORCPT + 99 others); Fri, 22 Sep 2023 06:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjIVKHP (ORCPT ); Fri, 22 Sep 2023 06:07:15 -0400 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 289E791; Fri, 22 Sep 2023 03:07:08 -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=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0Vsd7U46_1695377219; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vsd7U46_1695377219) by smtp.aliyun-inc.com; Fri, 22 Sep 2023 18:07:06 +0800 From: Jiapeng Chong To: satishkh@cisco.com Cc: sebaddel@cisco.com, kartilak@cisco.com, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] scsi: fnic: clean up some inconsistent indenting Date: Fri, 22 Sep 2023 18:06:57 +0800 Message-Id: <20230922100657.14566-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_BLOCKED,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 22 Sep 2023 03:07:14 -0700 (PDT) No functional modification involved. drivers/scsi/fnic/fnic_fcs.c:152 fnic_handle_link() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6678 Signed-off-by: Jiapeng Chong --- drivers/scsi/fnic/fnic_fcs.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/fnic/fnic_fcs.c b/drivers/scsi/fnic/fnic_fcs.c index 79ddfaaf71a4..55632c67a8f2 100644 --- a/drivers/scsi/fnic/fnic_fcs.c +++ b/drivers/scsi/fnic/fnic_fcs.c @@ -145,16 +145,17 @@ void fnic_handle_link(struct work_struct *work) spin_unlock_irqrestore(&fnic->fnic_lock, flags); if (fnic->config.flags & VFCF_FIP_CAPABLE) { /* start FCoE VLAN discovery */ - fnic_fc_trace_set_data( - fnic->lport->host->host_no, - FNIC_FC_LE, "Link Status: DOWN_UP_VLAN", - strlen("Link Status: DOWN_UP_VLAN")); + fnic_fc_trace_set_data(fnic->lport->host->host_no, + FNIC_FC_LE, "Link Status: DOWN_UP_VLAN", + strlen("Link Status: DOWN_UP_VLAN")); fnic_fcoe_send_vlan_req(fnic); + return; } + FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, "link up\n"); fnic_fc_trace_set_data(fnic->lport->host->host_no, FNIC_FC_LE, - "Link Status: DOWN_UP", strlen("Link Status: DOWN_UP")); + "Link Status: DOWN_UP", strlen("Link Status: DOWN_UP")); fcoe_ctlr_link_up(&fnic->ctlr); } else { /* UP -> DOWN */ -- 2.20.1.7.g153144c