Message ID | 20190422054501.3224-9-skashyap@marvell.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 249b148f3620577c923894dfab5a75cb59c024eb |
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 983D5161F for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 22 Apr 2019 05:45:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86CF628668 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 22 Apr 2019 05:45:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 757902866D; Mon, 22 Apr 2019 05:45:42 +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 1EB2128668 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 22 Apr 2019 05:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726731AbfDVFpl (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Mon, 22 Apr 2019 01:45:41 -0400 Received: from mail-eopbgr790074.outbound.protection.outlook.com ([40.107.79.74]:11186 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726645AbfDVFpl (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 22 Apr 2019 01:45:41 -0400 Received: from DM6PR07CA0021.namprd07.prod.outlook.com (2603:10b6:5:94::34) by BYAPR07MB4408.namprd07.prod.outlook.com (2603:10b6:a02:c1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Mon, 22 Apr 2019 05:45:39 +0000 Received: from DM3NAM05FT059.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::207) by DM6PR07CA0021.outlook.office365.com (2603:10b6:5:94::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16 via Frontend Transport; Mon, 22 Apr 2019 05:45:38 +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 DM3NAM05FT059.mail.protection.outlook.com (10.152.98.176) 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:38 +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:27 -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 x3M5jR0X003291; Sun, 21 Apr 2019 22:45:27 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x3M5jR3M003290; Sun, 21 Apr 2019 22:45:27 -0700 From: Saurav Kashyap <skashyap@marvell.com> To: <martin.petersen@oracle.com> CC: <QLogic-Storage-Upstream@cavium.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH 08/12] qedf: Log message if scsi_add_host fails. Date: Sun, 21 Apr 2019 22:44:57 -0700 Message-ID: <20190422054501.3224-9-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 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Matching-Connectors: 132003855385753884;(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)(346002)(396003)(39860400002)(376002)(136003)(2980300002)(1110001)(339900001)(199004)(189003)(498600001)(26826003)(2351001)(87636003)(105606002)(86362001)(14444005)(70206006)(6666004)(70586007)(11346002)(1076003)(356004)(126002)(486006)(5660300002)(97736004)(69596002)(476003)(80596001)(4744005)(446003)(336012)(85426001)(2616005)(51416003)(76176011)(8936002)(26005)(50466002)(50226002)(6862004)(48376002)(53936002)(2906002)(42186006)(316002)(16586007)(36906005)(54906003)(47776003)(81156014)(36756003)(76130400001)(4326008)(81166006)(8676002)(15650500001)(305945005)(68736007);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB4408;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: 57f3a849-d5bd-45d9-ab23-08d6c6e5bfb6 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600141)(711020)(4605104)(2017052603328);SRVR:BYAPR07MB4408; X-MS-TrafficTypeDiagnostic: BYAPR07MB4408: X-Microsoft-Antispam-PRVS: <BYAPR07MB44081500A1382B92575C14CED2220@BYAPR07MB4408.namprd07.prod.outlook.com> X-Forefront-PRVS: 00159D1518 X-Microsoft-Antispam-Message-Info: fOIKpK/yAkF6ud7EftqgPXlTGgeDlPPQN+fko52HxksJ2NwCC+vIfWViP4luSwJyATbbZqnry0I+ENxLRofkhnfD6Zf7benbqGgaF8A9Eeuz3bHu4c96C2aaKJrpL95GWuFX9OhMOTi1jYuEESdFPeGufSlC9pdi84W6bN5fqa5OvJeUpA+tQnc5/qtuX9j0bpjI1qIPEudrp3NRpZpADObUGFlHTBBDE+Sb9khmkOwxEgbMF5WYzJQ1aq6C5U8rqa9zWYuQp4wLlhEP5uGu4ACfffOX8HMz4lUOefjnT3x1xgicxnLpEEqnGy7pmHl5konPmkcTvFQYBWqSXFv1kDTdBQ+gNpYGvsU2jWkeRw+3EQx7SDh10ozpX3VpkvR61tTLqpSYZDzYqlPVNrDqonE5krZbq5NVOV8GLepEeU8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2019 05:45:38.2351 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57f3a849-d5bd-45d9-ab23-08d6c6e5bfb6 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: BYAPR07MB4408 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: Changes to log messages
|
expand
|
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index a527b9b..e2f3228 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -3330,8 +3330,11 @@ static int __qedf_probe(struct pci_dev *pdev, int mode) host->max_cmd_len = QEDF_MAX_CDB_LEN; host->can_queue = FCOE_PARAMS_NUM_TASKS; rc = scsi_add_host(host, &pdev->dev); - if (rc) + if (rc) { + QEDF_WARN(&qedf->dbg_ctx, + "Error adding Scsi_Host.\n"); goto err6; + } } memset(¶ms, 0, sizeof(params));