From patchwork Tue Jan 16 04:46:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10165969 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A3925601E7 for ; Tue, 16 Jan 2018 04:47:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EBBA27FAE for ; Tue, 16 Jan 2018 04:47:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8358027FB3; Tue, 16 Jan 2018 04:47:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28E1227FAE for ; Tue, 16 Jan 2018 04:47:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751374AbeAPErR (ORCPT ); Mon, 15 Jan 2018 23:47:17 -0500 Received: from mail-co1nam03on0050.outbound.protection.outlook.com ([104.47.40.50]:10400 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751336AbeAPErH (ORCPT ); Mon, 15 Jan 2018 23:47:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KBGPXl2dpTin/dTm2KPOIkT/sU61JA6g271hSNw11Q4=; b=j1GZwP1QthSWeAs6nFG/AjwqFV3OZc8LW0frgWLTotMK7wf9S2NHpOHQ5hMq3O47Pzal3uw/fExt2nxQEQZBTwmbQFEzR2uHm9uRFJYNGyBJbJBOmSu7l4rOlTwumQfw6to/P9bW/oFSa10QWW8tWaMLYkXNzN3NLSFV0bCNFxo= Received: from SN4PR0701CA0002.namprd07.prod.outlook.com (2603:10b6:803:28::12) by SN4PR0701MB3822.namprd07.prod.outlook.com (2603:10b6:803:4e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 04:47:06 +0000 Received: from BN1BFFO11FD034.protection.gbl (2a01:111:f400:7c10::1:125) by SN4PR0701CA0002.outlook.office365.com (2603:10b6:803:28::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Tue, 16 Jan 2018 04:47:06 +0000 Authentication-Results: spf=fail (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: Fail (protection.outlook.com: domain of cavium.com does not designate 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1BFFO11FD034.mail.protection.outlook.com (10.58.144.97) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.345.12 via Frontend Transport; Tue, 16 Jan 2018 04:47:06 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Mon, 15 Jan 2018 20:46:54 -0800 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id w0G4ksGO020751; Mon, 15 Jan 2018 20:46:54 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w0G4ks8c020750; Mon, 15 Jan 2018 20:46:54 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH 5/8] qla2xxx: Fix warning for code intentation in __qla24xx_handle_gpdb_event() Date: Mon, 15 Jan 2018 20:46:50 -0800 Message-ID: <20180116044653.20696-6-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180116044653.20696-1-himanshu.madhani@cavium.com> References: <20180116044653.20696-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(346002)(376002)(396003)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(575784001)(86362001)(51416003)(76176011)(356003)(47776003)(36756003)(26005)(85426001)(59450400001)(305945005)(72206003)(2906002)(5660300001)(4326008)(50466002)(1076002)(2950100002)(87636003)(6666003)(42186006)(48376002)(316002)(16586007)(81156014)(110136005)(8676002)(478600001)(50226002)(81166006)(80596001)(105606002)(69596002)(54906003)(15760500003)(8936002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN4PR0701MB3822; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD034; 1:LUAghYJvUy6yihKCd4aGJJT8T9CK+yQz5RsLH052BzNhITigsjULzotIf+yGvsEPYns6rntVRmCmdyK3JAxhyU4HNBVaGW6hU/YPy9aMVVlXH9TxmW6NKvLvU2S52dWT X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5a80911b-f59f-4eae-18a4-08d55c9c31d6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060); SRVR:SN4PR0701MB3822; X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3822; 3:TJILNL8vZFYz18TU7UbD8JYWtdBG6M6/RsADLDDvTfTS0h8BLsD1jWZMrYqjt3Av65Ui+QO/heWHQvq+WfqjZ6BEr5ubXO+BwDwyDXNbez3WQhuSZCfsmiuwYKCYgKsPbWVA8MVIkpXbaoiZGNYInPyVNXfSvGr/NrX6oqkY5pfJTKX4ersF59StNDnpBvQIzMTX9H6lHdYfEPcMLdP2mmxCeeyNoJqfmY7XT3Jd27GvUjbkmU4mUKyBUQUqryyNIdHp2jRpletHpQ4fLlYvstKjYk9Oy3ecBXhuC2xuUbulTQ3pAxDRxIRGw4qoR4eQMvhXrG2Z3efik584j8p8HQ==; 25:9fPZ5R2Ie16CPGDvensCteU1F+8vtACCdaYR45ImJur3j00M9ETeLxyzC8CB+YVID5qLJ2eJ4wkNCEf6a7ehptdBn6HZoCcPJfuTQRpJdqOMBY9WYwOezAgcvaiNfrkSTBUvNi/WIu0qWZ4XWbSF7po/hdJNu7djjzLIK1+TYcpmDggAEQqmnxICHKCtaOtZk8708e1sIy0lzUY1zC0K6bt34l5RziWcXJ4Z4k836Ep337Y8LbWr/DIf56pBghLExWUtcJCaQpACwGObhfj07zE+l6ccy63K7ViEDDRFVrL7mMk3QUpL5sudDNOQR7BKuG5z3vjUMCrshiWjD0DzUA==; 31:mMTe2NY4jsezF0SpXb97fJtmQcfKEVaszhfZBxszQ5eHpfh8FHj2nSvG7qm2VFz9szX05Auk28KajvpAFcjZv8OTT+c0O0soZ5ye0DWXdv4jtc/oOs9EXMDSWPV85mzBcQSk13j7FST4KoOUJKOMw3GVybPasagNymG5tuqJS/myDzQFPYNrbZdcQ7P3pyr5m/uqAY8KCNocXar8jUONEpvojzas/2fxax1sndQ80gU= X-MS-TrafficTypeDiagnostic: SN4PR0701MB3822: X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3822; 20:KpZFl6IITRq44/UBJzYma2nszpWjj8Zwr8vzs4v+hFVKXpOl9eICCLCi73QDzRuC5SY0KG8w2QPOEeX9b6fd5/zrqVGIi+gUTZ1SLeCETuo5wxSHWWF1BtM9fIW8AsZI1vsiEBK8Q8oHhem4ZvfthYvD+tUjg5pzN8yI9Oq+yApacsSEU5C5Uycn3WXu/FGsuICblVTAIGk+zvo9bfTuRbKIHZVfpClMBm20H1f0V77h4b7gQz1e+BrbiwuxbYVqMYSAS+YzDymjCIOorSvIDGt2lqM5drt2WXzmbf7pQYdgp17oa5sBRKPcIL21Vh+qTCYiiYQNc2YsiqViTlnPWL+yr+RcTjvaXt4hhGec5Aq6Tg6QLGn0kQ3/Qp2HdLY95p7X0JZyn2lW6BJgv7ybEQa2MGESXQTN0fydkmG4/t0gShSpgtXogOZbYOXELMXdMGm6J2UHVyVq1Br0ARrpXW4CXX5ZY36jIXbH+Fx9g/alUK0Hv0peXB5BpPepXZxq; 4:JDgsNjBINqrRSukBb6wolYRmpIEzbmQvyaot1NKamAvWvNEA30b2LjtuqWlOn9fzHaphdQMt61hGqoeXYKUisMvYfUjwCxKDliJON9JzQhQjZNepIvT+Xy5DwUqjPI3epK0ZSBYB0lCf3dM7b/u6o50WK353ORnhvhDw1CcTyNe33zCLCXgpKPRRr1/AEcdw3VFNnbOFIp0tfnMnQ2rjj8IlWmcuwCxqiIp3t3Dp/IreLGkA6rCm+hPwbycSA/NCy83hDBBTeMz403Y3biVgSg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231023)(944501161)(10201501046)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:SN4PR0701MB3822; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN4PR0701MB3822; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN4PR0701MB3822; 23:CFFvqn9dmkkfrLa81II0JN0p79rRPC5dX2VaGfF?= =?us-ascii?Q?5dWCwJzrwhMiOc0fkHSeSVmRzt/yRI3BjVXB+Yb0lmm3Dqo+cYujhX1AuOsd?= =?us-ascii?Q?Bg+hJMQg1Ig091mFdi90jHNX0BfsqvinKqzYat7HrSrG5iqurg1M0b9r8rxt?= =?us-ascii?Q?DEERIyPC7MtApZL6lj7fCFoYVsOd2imNvDP/zSNqUhX/H2m05EY+jzCv0qkg?= =?us-ascii?Q?hSBzOrGiQDuOgIzNKX6Xxx4mQjEK7Rz7SypyfT6eywv+5rsh8XEFHg3o7d5B?= =?us-ascii?Q?gJiKgqDT8Em9ToF5GYs6xYe8Z9SE6O8xoUk+Vro5tHMNNSqMzqj/pCJOBLyz?= =?us-ascii?Q?D7h9B57nwXqdZWbNp7I67OcSOyeyZj79TumBHijTUg8JFuaDDPHJ7IyLsD2q?= =?us-ascii?Q?pbX8F+EymA3VpxRnI5rI+fdXXLesuKmiVIcjZuRYXfKvBs4atlVtmEpEI3KD?= =?us-ascii?Q?Gt6NtIoux8Pu9mN3JrM1u3C0h2BP2IZIMv1M6u1vUxEWaSZp8UF5jhqS2LN4?= =?us-ascii?Q?/ujTvIjB7XKfMAV85MFnhpTUh1oWepH7X+pge19HkrV7x+vEmVqSVxSnuBIu?= =?us-ascii?Q?CUB10ja1Aj0u72W622QKKpOixydqWQF0npoivCNj13qq8PeoZwFAPpbvS1ZO?= =?us-ascii?Q?u2XuCvGCVFKkWuwgR8YtPErWsga738BRAqa0DqbO0IVqG2zmGd4Y3oRQ3imv?= =?us-ascii?Q?VMVmnK5aM2+ZNoOY8P7KQdqhTOAO826KxLisBifE1DBH8Qp5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kMJM=; 24:meXSU4u+zJJKkkSbnBF6NuU9YorBYaZitvnBCrE1gRcsquSZuLXAVEno2cQg27ZC+cNsDWQGT0mm+w8f8aqC7jethIz7Jz9FE51Iv6JG9pM=; 7:0tv/mHhN3iKdEAnAL49lXHh4kX3IxXpWLUyp41UlK+f5oqeV2xwHDhM4zIDhci/CWUYl71LrRyFMTxJHC0ZhbweXOjczbuez7XJPi92q07z590M6iIsJr2VK/RGezqWaQIsJRh8a1aeknEtitAnO0N4V5cEM4EZRYuDLNFqvgrveF+l81KlQMlrsViakhTaG4+xzhi6DKyaraVN9XStLBxLNUrdBWEm8TUYjrniCBcxYSvxrfOFqqfFnCQ8QJBOj SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 04:47:06.0129 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5a80911b-f59f-4eae-18a4-08d55c9c31d6 X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0701MB3822 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes following smatch warning drivers/scsi/qla2xxx/qla_init.c:1054 __qla24xx_handle_gpdb_event() warn: inconsistent indenting Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 08ad1a60cb0d..e030ee38fa6f 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -1055,7 +1055,7 @@ void __qla24xx_handle_gpdb_event(scsi_qla_host_t *vha, struct event_arg *ea) ql_dbg(ql_dbg_disc, vha, 0x20d6, "%s %d %8phC session revalidate success\n", __func__, __LINE__, ea->fcport->port_name); - ea->fcport->disc_state = DSC_LOGIN_COMPLETE; + ea->fcport->disc_state = DSC_LOGIN_COMPLETE; } spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); }