Message ID | 20171204224517.3409-17-himanshu.madhani@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 74736600C5 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:46:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6674F29387 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:46:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B4A629446; Mon, 4 Dec 2017 22:46:09 +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 ED12629387 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:46:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751754AbdLDWqI (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Mon, 4 Dec 2017 17:46:08 -0500 Received: from mail-by2nam01on0080.outbound.protection.outlook.com ([104.47.34.80]:62787 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752283AbdLDWpu (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 4 Dec 2017 17:45:50 -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=//ToNiZG0gkgaXXDYZBFFi5uhZa4cyFvN0P9US151Q8=; b=cq0YzDnOzCxio9k8CuhkXIAuweLaA7iy9I6Jp3+juYD6oVHSzA0AT6Yr8o4NLAuxnKpu8GnG3L+mzE0xDAawwCMC47licIZbf9DPlEgi9ml7tcEfZUUgeVTSC4qNlZVU2pIX7WCzwP4+c4N3LQqxsRQbCTPvzxCbpUQK/LlA6nw= Received: from SN1PR0701CA0073.namprd07.prod.outlook.com (2a01:111:e400:52fd::41) by MWHPR0701MB3819.namprd07.prod.outlook.com (2603:10b6:301:7f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Mon, 4 Dec 2017 22:45:49 +0000 Received: from BL2FFO11FD008.protection.gbl (2a01:111:f400:7c09::127) by SN1PR0701CA0073.outlook.office365.com (2a01:111:e400:52fd::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Mon, 4 Dec 2017 22:45:48 +0000 Authentication-Results: spf=none (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: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BL2FFO11FD008.mail.protection.outlook.com (10.173.161.4) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.239.4 via Frontend Transport; Mon, 4 Dec 2017 22:45:48 +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, 4 Dec 2017 14:45:21 -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 vB4MjLT9003509; Mon, 4 Dec 2017 14:45:21 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vB4MjLXn003508; Mon, 4 Dec 2017 14:45:21 -0800 From: Himanshu Madhani <himanshu.madhani@cavium.com> To: <James.Bottomley@HansenPartnership.com>, <martin.petersen@oracle.com> CC: <himanshu.madhani@cavium.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH v3 16/22] qla2xxx: Fix scan state field for fcport Date: Mon, 4 Dec 2017 14:45:11 -0800 Message-ID: <20171204224517.3409-17-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171204224517.3409-1-himanshu.madhani@cavium.com> References: <20171204224517.3409-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(2980300002)(428002)(189002)(199003)(50226002)(80596001)(101416001)(69596002)(72206003)(86362001)(106466001)(478600001)(87636003)(189998001)(50466002)(8676002)(33646002)(356003)(8936002)(36756003)(81156014)(81166006)(1076002)(105586002)(6666003)(51416003)(2950100002)(48376002)(2906002)(5660300001)(110136005)(316002)(47776003)(42186006)(16586007)(305945005)(76176011)(54906003)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR0701MB3819; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD008; 1:MV2q1a00GMfs6KGp9MguYB7awCHW8Y6LDISZexqWH8ppZXhCyNH42GE2eYS/ceyVfk8vwylYh0Nb92HhJwGkRExNwPTCRN0AO3L3MKjt+qdWDIjshziIhVajhrOLfn6j X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 618b7a0a-3e25-499c-a495-08d53b68c384 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603286); SRVR:MWHPR0701MB3819; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3819; 3:ZoLqwxOh+C1UaVOLt/mudGyx5+QZtUGGmp3YKwFipZeOM+UniaiYKH6CfBblqmGZBOqC1bWL2kpj3C9AX11BUTpu/ZxjKNt97D+2WSfkIu25VbvcSDx0UKvkugQ0upY72M3vtvB0j/J0ryfSoaCPqCl74wH/vT7DN4TO2ebD+ygcajY1sSJ9zJP11zgfk0lX8/Gk6936S5TdqFUUkISLywIMROq91o0D1X9yWyUQ5+Cx+K35j3NHNETvUmW0h+30BgOnyruIZ3smIMLT/0y+8CGX23T7xmMahVYaUVVOf7655hHBHoLqxSSw2zAo+r0SGGVVAeendqEcHmfVJniffaeU+UQ0i79yR2T0V2+FGR8=; 25:2vS2e8gOSRRbuou89AR1VOvKA54dc643rWOiyBdcTMG/o7yjDbugOic05E+VLaXtKLCTJGK2htsfwPVWRH+92jx8YK8JndDv9dAGB+3mNoXq2OAR4kzmU4hBxv6yfLJRJEKeL6kEq//vHxp56cw8YXMxb9qKN7Fg+zxhW+DF7uBVhjsiZ2SK+CiBocnQXTbwFndI30L3bXlC1myDGjrjYxWlSlq59AudtEqCYUAenOmJ6R33Y02HhObBD3sadGxVlSPDvCA5KQONUF47nZLUGh+z/8mk74vOkSgXndNRe8YblBzHX8S3jFPMWRf9f6YZRv7caRYqa1nraPGgXjAhdw== X-MS-TrafficTypeDiagnostic: MWHPR0701MB3819: X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3819; 31:VVCoe8NSiYDH+QJXBXm2Svs9J3VLxeeze4xM/M/JVQh/e2Ho+ORkvjiG1igd2C5f9C7MIXfZyW8Vy6RVW89p1Y0Nq5os5jhdeROFfxLXj63j4UCAMg8jpM9tktYFfu0HawBSiC3TLQY/JDPFXk32wU8bbOB6nIp34s6B0xYqap3J3AGYfP0GlsXfoWZ12U+7CC8JvsUdad4PH4zUVRalJmASJx/CfcgO73O8U+XKM/g=; 20:mEcosQF8FfygRhj9qCAciQsEsG7ZO80FUMLxPSXKHfUow33r+ID7pIjH1j9BnFuZA1axgW/5b73ePItv9FPIDJ/1IATgtjrCifmX4WG8l7jg6TC+mSLwbKnpalJDTgbx2cXlzDQkJ8MQZ4viRoLD8eKkFodvgO3D83dESMWPPuPfyP5ggR2QapzZRsLbczOyszCMwikK+0dME+7dfHti+q4LFja0mqv51rUigCOin4Tb4ahz8VQl+M3bAhMnJlOwYurNvHemSwYM0JTGjXYROQGvfTyJDIye8s1an/e6+ifbZO7KDWk6ULMLIbvDSJL/A2aALRig5DxBMtKkvjacUKrkofc8Kez6UmyWchC/ysIG+oOMR1Tda477+G6i4+D2D7Le4Gs/2QTmXcOQWrNDLfbKgk5UJ+LcE2pj+n8ZmbwBVpileqRiaa5G2MGZQziDBFa8habpliLWexC3hVkVO9jAL4Rm7FaDyT8Nkr8QMCH2C4AAfvBYceIBDLPOpMZt X-Microsoft-Antispam-PRVS: <MWHPR0701MB3819B18439998DD079FFF15FF53C0@MWHPR0701MB3819.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231022)(93006095)(93001095)(6041248)(20161123562025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(6072148)(201708071742011); SRVR:MWHPR0701MB3819; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR0701MB3819; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3819; 4:Vq2GSZVKyaWZGfd0QrAbp1S+Oy00Wx8Bx2x5Da/bymcZeQqRKero5vijJbNBoM2au2vRP3BZmdWHdWUpBtF4r5OK4Lu7GYuW+NpMhyOF0LFuXKMQps77AJ0+YlkgNN3RvAPBhawPNpPS107I46RQ2daZ8A1e8kaUv1xto3l9G8uaIzKSSmIfYCVxoIXL9mtmhnzutXefPabUT7+6V4F9zP0h3xqVnjt0UnuQzX0eVETIyaDJhTKg64ui32iMzS9DEcxeLqFPkTGjjwGFHD7pY90YwL01R12vaigBv3b2NbPe3+dedu9nvrpgwpc9ySag X-Forefront-PRVS: 051158ECBB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR0701MB3819; 23:3vONoERNKjIFYewpWoguI54tCA8Kp5zFTzqjp0B?= =?us-ascii?Q?OLPcmcOPuENwmzt2fevx82yacprK6uU6fbhSrihet6wmvCgn6P5O7OCENJNn?= =?us-ascii?Q?mgKT/gFFROVnJypPKLez2dfBx+kkT2Zmi0fwz7a/rdi2PtO23xH27KEe7eQU?= =?us-ascii?Q?+FqwbH176mK4ZG0v/75UuvvA1pQU2ypRtZDTnYBPmr/LtvVEyqJNTa0DniVD?= =?us-ascii?Q?QYQhj++hWIjYTq2/6iAcvGqcM9hB8WCk664ZGOVCfXSIJmL8QgdYMTy/wugu?= =?us-ascii?Q?n6PgVvCbM5sa4dEoY/2DxRxJqp0kbBq8W//BQ5B/TEY+ud2/MnofUbqKmuKS?= =?us-ascii?Q?2+tzE7YmdCyNt8ZGkMQMPNaaSDeBR5t/1krOjanlFytD0pvqU4p09/UflJCB?= =?us-ascii?Q?NK1UxyEQJtaaARzr1hWvfvrcRMKwz8Wu2MZSt0PnfvGzcvl2K7IBDLcvClaJ?= =?us-ascii?Q?+hmGare3HgKLToott6EEzbJ6vOk5kwm2vK6Cx697FWsNXUk8tQEDP/kAZtdw?= =?us-ascii?Q?1bH1hpWVRAuZRwsAsHs+Kgmhn6QfV1gO9VDKS6qkbNxrBeT14AQybF3dFVPf?= =?us-ascii?Q?aP4dshNqxt51XXAJANZdjU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AD3o1PT1Utnk=; 24:cbXtoT7/eX/WFz1He8I664OzM7z1wIUcwUWfXVeGj/bGlI9vkviV54TzJGvTDqrmsRshDsYUtGyn6dliA9TJxmUhFtuj8gV/cDgtnnLdqoE=; 7:rmQqtqQCol/IrhwsG9ibgdbbLTHj7fN/OvT/XNFCw+lxwVdRUqkqQPNfxj5toZB34qdzbIgkEOzRA/EjqMa/cPd5+KFlG2nByiuDp+Biq6ecEUfAopo5tfZ7hdKu/r02vQxOIC+hfjPYQOq6rKgtcYB+/VDBfu7KaTWQucjZiF3DDoIOyUKh947kIc/D+voYttGwyY61E+CUxaOfeOoaf623GSiwRnOVLmXIDnldwv5jd6jEzBRnBkmsR+lK14tB SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2017 22:45:48.2092 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 618b7a0a-3e25-499c-a495-08d53b68c384 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: MWHPR0701MB3819 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 2a6242d97a7e..1c219998ab60 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -5812,6 +5812,7 @@ static fc_port_t *qlt_get_port_database(struct scsi_qla_host *vha, tfcp->port_type = fcport->port_type; tfcp->supported_classes = fcport->supported_classes; tfcp->flags |= fcport->flags; + tfcp->scan_state = QLA_FCPORT_FOUND; del = fcport; fcport = tfcp;