Message ID | 20190305105901.13185-4-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 D78101803 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 5 Mar 2019 10:59:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3545297DE for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 5 Mar 2019 10:59:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B7AA92AE4C; Tue, 5 Mar 2019 10:59:16 +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 22B46297DE for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 5 Mar 2019 10:59:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727381AbfCEK7P (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 5 Mar 2019 05:59:15 -0500 Received: from mail-eopbgr780088.outbound.protection.outlook.com ([40.107.78.88]:39723 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726765AbfCEK7P (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 5 Mar 2019 05:59:15 -0500 Received: from BYAPR07CA0029.namprd07.prod.outlook.com (2603:10b6:a02:bc::42) by BN6PR07MB2995.namprd07.prod.outlook.com (2603:10b6:404:a6::8) 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:13 +0000 Received: from BY2NAM05FT059.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::204) by BYAPR07CA0029.outlook.office365.com (2603:10b6:a02:bc::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1665.18 via Frontend Transport; Tue, 5 Mar 2019 10:59:13 +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 BY2NAM05FT059.mail.protection.outlook.com (10.152.100.196) 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:13 +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:11 -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 x25AxA2D013232; Tue, 5 Mar 2019 02:59:10 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x25AxAdF013231; Tue, 5 Mar 2019 02:59:10 -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 03/26] qedf: Add missing return in qedf_post_io_req() in the fcport offload check. Date: Tue, 5 Mar 2019 02:58:38 -0800 Message-ID: <20190305105901.13185-4-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: 131962571534604961;(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)(396003)(346002)(39860400002)(136003)(376002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(5660300002)(85426001)(54906003)(2906002)(81156014)(81166006)(6862004)(4326008)(47776003)(68736007)(76176011)(51416003)(86362001)(2616005)(36906005)(16586007)(316002)(11346002)(446003)(42186006)(1076003)(8936002)(476003)(69596002)(6666004)(36756003)(126002)(45080400002)(2351001)(498600001)(356004)(14444005)(80596001)(26826003)(26005)(87636003)(50466002)(305945005)(106466001)(50226002)(336012)(8676002)(486006)(53936002)(105606002)(48376002)(97736004);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR07MB2995;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 311f71f4-e232-43e3-4c71-08d6a1599a6e X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600127)(711020)(4605104)(2017052603328);SRVR:BN6PR07MB2995; X-MS-TrafficTypeDiagnostic: BN6PR07MB2995: X-Microsoft-Antispam-PRVS: <BN6PR07MB2995E31298EB1E1EE217D7F7D2720@BN6PR07MB2995.namprd07.prod.outlook.com> X-Forefront-PRVS: 0967749BC1 X-Microsoft-Exchange-Diagnostics: 1;BN6PR07MB2995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E7y+O2DipgblFgilzVlb50dbVwZBv2ftGBPu0haGk0aUEWdfg+Wpae7RPvzjDgPoLa2gqtwhhcUxkVNiPYhZEZ88DsO7SjZYxv1dbTOptubdNzGgUxWaXtB9QqxaC/tAyr3Y3l7Csug8IVzaqyzrEhrvuXQ8Z8s4xKDCTr6mG+UGD7Bhn1arCzeuqWOW4KdWpOMVVjRwf9yT/2hxOl4D311sfXNa0UJFA== X-Microsoft-Antispam-Message-Info: HJX1uDr1wCur1KzvEoLR6nO5hNcR2gRxgRUfpCO/DDatqlkQM6LXov07XQk27+B1qj3KWlPTSz5JhSHmYx3Xu8lxrLHgEh6I/QzAt8nXwmSWC2wegGgvS6r6RSZDXNi2VzT/4tsa0xrI5HrsKoODIieJxZakrWO5a0MtfhuC7xj0yrqORobOsPwxhUI8Lm1BLwVshAO3Qgflrh5FC6sJOFyZhFJm94yTxUO9szxWWu8vE8cM68T3F6qpXL1d0rH9FRsQfS0D4vrewDvvGEKp59yxJMwu/ctqRcQ2cimBLqCeLgiRsT/qdxIn5GrtTqaTWAi5GSThr7Jmy1L6xj8Vhd7qG7uWM3B9G98kpiWIRBDK2xZjp5BfWWlsLUoTR999eW5L9nmfzMyKHHSpbrH7wmHgO4MPO/bO+goHFHqFFJg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2019 10:59:13.2052 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 311f71f4-e232-43e3-4c71-08d6a1599a6e 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: BN6PR07MB2995 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 7c2ecf3..da728d2 100644 --- a/drivers/scsi/qedf/qedf_io.c +++ b/drivers/scsi/qedf/qedf_io.c @@ -902,6 +902,7 @@ int qedf_post_io_req(struct qedf_rport *fcport, struct qedf_ioreq *io_req) if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { QEDF_ERR(&(qedf->dbg_ctx), "Session not offloaded yet.\n"); kref_put(&io_req->refcount, qedf_release_cmd); + return -EINVAL; } /* Obtain free SQE */