From patchwork Mon Apr 22 05:44:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saurav Kashyap X-Patchwork-Id: 10910661 Return-Path: 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 72F51161F for ; Mon, 22 Apr 2019 05:45:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6223127FA5 for ; Mon, 22 Apr 2019 05:45:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 501CD2847B; Mon, 22 Apr 2019 05:45:12 +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 01D2B27FA5 for ; Mon, 22 Apr 2019 05:45:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726587AbfDVFpL (ORCPT ); Mon, 22 Apr 2019 01:45:11 -0400 Received: from mail-eopbgr680043.outbound.protection.outlook.com ([40.107.68.43]:2887 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726443AbfDVFpL (ORCPT ); Mon, 22 Apr 2019 01:45:11 -0400 Received: from SN4PR0701CA0019.namprd07.prod.outlook.com (2603:10b6:803:28::29) by CY1PR07MB2166.namprd07.prod.outlook.com (2a01:111:e400:59d7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Mon, 22 Apr 2019 05:45:09 +0000 Received: from DM3NAM05FT021.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::207) by SN4PR0701CA0019.outlook.office365.com (2603:10b6:803:28::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1813.12 via Frontend Transport; Mon, 22 Apr 2019 05:45:09 +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 DM3NAM05FT021.mail.protection.outlook.com (10.152.98.130) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1792.7 via Frontend Transport; Mon, 22 Apr 2019 05:45:08 +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; Sun, 21 Apr 2019 22:45:05 -0700 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 x3M5j44Y003263; Sun, 21 Apr 2019 22:45:04 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x3M5j4nv003262; Sun, 21 Apr 2019 22:45:04 -0700 From: Saurav Kashyap To: CC: , Subject: [PATCH 01/12] qedf: Change MSI-X load error message. Date: Sun, 21 Apr 2019 22:44:50 -0700 Message-ID: <20190422054501.3224-2-skashyap@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190422054501.3224-1-skashyap@marvell.com> References: <20190422054501.3224-1-skashyap@marvell.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 132003855089326387;(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)(396003)(346002)(376002)(2980300002)(1110001)(339900001)(189003)(199004)(51416003)(47776003)(14444005)(2906002)(36906005)(68736007)(4326008)(8936002)(53936002)(50226002)(81166006)(8676002)(6862004)(305945005)(2351001)(81156014)(316002)(36756003)(105606002)(42186006)(69596002)(16586007)(15650500001)(80596001)(498600001)(97736004)(54906003)(126002)(486006)(50466002)(6666004)(48376002)(85426001)(356004)(26005)(87636003)(76176011)(1076003)(4744005)(5660300002)(26826003)(336012)(2616005)(86362001)(476003)(446003)(11346002)(76130400001)(70586007)(70206006);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2166;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: 2f2ea217-9098-4c91-8b03-08d6c6e5ae0b X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600141)(711020)(4605104)(2017052603328);SRVR:CY1PR07MB2166; X-MS-TrafficTypeDiagnostic: CY1PR07MB2166: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 00159D1518 X-Microsoft-Antispam-Message-Info: g5W6oeeULNsBwLQmDuuP0029sHX4QaNcnJczfztmYrGa0jTLnaPRilvhujwE3jZ+3Fs85qY7xJ1g1FNAFvnYGPQxGB6d2ba2yRXdRVgssz+zNTxGQGWpyF4T1Ly8iIyHF2ui+Q+iKVs4e1M2WuFCGDoe9vxNB3o7v5CH+rlz/MYBPG0YWi+E/Lmf4ryhffUTQKsrmn4sfHOtyKZMTx0JsRUh0jiB9EWH+JNPAEgMOUyytuyoVdXULIiGDxNlILT6bskapWRZiSildBdDnDUXhQ7hc4lOni0DyiXg9iiHAqEea3RqAo+b3fjcsljdK5Ykc7cDXB+BSIETt3mBO29sZXUX3NfXm2GGFt+6CGIY7MSzMih2YrSiQHJhor2cwWFNE5pRWied//DE2A3hyUPOODDbBuOc28rTpgiBzxX0VcU= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2019 05:45:08.5833 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f2ea217-9098-4c91-8b03-08d6c6e5ae0b 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: CY1PR07MB2166 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 From: Chad Dupuis - Change the message to display load failure. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap --- drivers/scsi/qedf/qedf_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 84834d4..ffaf8f9 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -2275,7 +2275,8 @@ static int qedf_setup_int(struct qedf_ctx *qedf) QEDF_SIMD_HANDLER_NUM, qedf_simd_int_handler); qedf->int_info.used_cnt = 1; - QEDF_ERR(&qedf->dbg_ctx, "Only MSI-X supported. Failing probe.\n"); + QEDF_ERR(&qedf->dbg_ctx, + "Cannot load driver due to a lack of MSI-X vectors.\n"); return -EINVAL; }