Message ID | 20190305105901.13185-17-skashyap@marvell.com (mailing list archive) |
---|---|
State | Superseded |
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-2.web.codeaurora.org (Postfix) with ESMTP id 2599C1803 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 5 Mar 2019 10:59:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11D292B2A9 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 5 Mar 2019 10:59:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05F282B352; Tue, 5 Mar 2019 10:59:56 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 A74B62B2A9 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 5 Mar 2019 10:59:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727498AbfCEK7z (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 5 Mar 2019 05:59:55 -0500 Received: from mail-eopbgr750072.outbound.protection.outlook.com ([40.107.75.72]:9003 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726150AbfCEK7z (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 5 Mar 2019 05:59:55 -0500 Received: from BYAPR07CA0009.namprd07.prod.outlook.com (2603:10b6:a02:bc::22) by DM6PR07MB4378.namprd07.prod.outlook.com (2603:10b6:5:bf::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.19; Tue, 5 Mar 2019 10:59:52 +0000 Received: from BY2NAM05FT041.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::201) by BYAPR07CA0009.outlook.office365.com (2603:10b6:a02:bc::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.16 via Frontend Transport; Tue, 5 Mar 2019 10:59:52 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by BY2NAM05FT041.mail.protection.outlook.com (10.152.100.178) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1686.5 via Frontend Transport; Tue, 5 Mar 2019 10:59:51 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Tue, 5 Mar 2019 02:59:49 -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 x25AxnOo013294; Tue, 5 Mar 2019 02:59:49 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x25AxnSG013292; Tue, 5 Mar 2019 02:59:49 -0800 From: Saurav Kashyap <skashyap@marvell.com> To: <martin.petersen@oracle.com> CC: <QLogic-Storage-Upstream@cavium.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH 16/26] qedf: Add missing return in qedf_scsi_done(). Date: Tue, 5 Mar 2019 02:58:51 -0800 Message-ID: <20190305105901.13185-17-skashyap@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190305105901.13185-1-skashyap@marvell.com> References: <20190305105901.13185-1-skashyap@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Matching-Connectors: 131962571919775528;(abac79dc-c90b-41ba-8033-08d666125e47);(abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(136003)(39860400002)(376002)(346002)(396003)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(86362001)(26826003)(51416003)(486006)(126002)(476003)(50466002)(36756003)(48376002)(356004)(6666004)(498600001)(47776003)(316002)(54906003)(97736004)(42186006)(53936002)(85426001)(4744005)(2906002)(6862004)(26005)(16586007)(305945005)(8936002)(69596002)(80596001)(36906005)(76176011)(81166006)(81156014)(4326008)(87636003)(106466001)(336012)(5660300002)(8676002)(50226002)(11346002)(2616005)(105606002)(2351001)(1076003)(68736007)(446003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR07MB4378;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8f12d090-bd52-4953-3ac4-08d6a159b163 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600127)(711020)(4605104)(2017052603328);SRVR:DM6PR07MB4378; X-MS-TrafficTypeDiagnostic: DM6PR07MB4378: X-Microsoft-Antispam-PRVS: <DM6PR07MB4378F59163D8D218E0941008D2720@DM6PR07MB4378.namprd07.prod.outlook.com> X-Forefront-PRVS: 0967749BC1 X-Microsoft-Exchange-Diagnostics: 1;DM6PR07MB4378;23:d6pOJVAGYzq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O72ABq2PddSX5YKQ+7Wn3Rvh8qhWdWYnQRCGSJwpPnRdaWRxkqkrg4NcR17bm+FR623R9v124nGKtGDQsa1CW9fmc7D8EqXtZyCIvr8g6nI4uUWdhc9Jc3/hY42+8Dyxd9bngotL0UZ9JAiG+rLBtf86Grov2ue5I7C+4guZcaDTUJcI/5qC+ms1Rh X-Microsoft-Antispam-Message-Info: q1RgIGQcQLmhfn8OEL91ZRVjgvRWUKARRMZXgy9jQjVf8vMZ8c4dbADZPiiAqu06Xj36ZO/LTc5laUuTl3XX+MdhQA35iKOHrmYIZlo3W9K2vAq2H6aY0A70b/JpsOt1JIPIeFztkX0b+d55yNNLtX6MbAb300KpvVO9vanOWZiUAr85CQaGNE/pxjHSB3zhQN+caxwPCJkdEnWJ5amlPCG0i2dNbyQ2u2riYXSIWFSZi+19inRg6sIOsZUxxIrdi+2/HupXEYbE/vzUFg9R9fJwal3+EVkTqFg/N3n834a0/eBrW4/aD/qPyXOaOWpm2HHf4WKOCDusy26iB0WT/gNvFyftpyYhNOpNLsTeLfWUduXSDC2NVpyuZyuUNBzQbNE+NMJ1FCyt5LAIRh107If7EQsR9qBQcoH+NTaWY8A= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2019 10:59:51.7213 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f12d090-bd52-4953-3ac4-08d6a159b163 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[199.233.58.38];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4378 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 |
Series |
qedf: Misc fixes for the driver.
|
expand
|
diff --git a/drivers/scsi/qedf/qedf_io.c b/drivers/scsi/qedf/qedf_io.c index f501a37..6f92b1b 100644 --- a/drivers/scsi/qedf/qedf_io.c +++ b/drivers/scsi/qedf/qedf_io.c @@ -1392,6 +1392,7 @@ void qedf_scsi_done(struct qedf_ctx *qedf, struct qedf_ioreq *io_req, sc_cmd->SCp.ptr = NULL; sc_cmd->scsi_done(sc_cmd); kref_put(&io_req->refcount, qedf_release_cmd); + return; bad_scsi_ptr: /*