From patchwork Mon Oct 25 20:35:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Campbell X-Patchwork-Id: 267952 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9PKYH96020251 for ; Mon, 25 Oct 2010 20:35:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757542Ab0JYUff (ORCPT ); Mon, 25 Oct 2010 16:35:35 -0400 Received: from avexcashub1.qlogic.com ([198.70.193.61]:42888 "EHLO avexcashub1.qlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757171Ab0JYUff (ORCPT ); Mon, 25 Oct 2010 16:35:35 -0400 Received: from avexcashub2.qlogic.org (10.1.4.116) by avexcashub1.qlogic.org (10.1.4.161) with Microsoft SMTP Server (TLS) id 8.1.436.0; Mon, 25 Oct 2010 13:35:34 -0700 Received: from [10.29.2.82] (10.29.2.82) by avexcashub2.qlogic.org (10.1.4.162) with Microsoft SMTP Server id 8.1.436.0; Mon, 25 Oct 2010 13:35:33 -0700 Subject: Re: [PATCH 2/2] IB/qib: Allow driver to load if PCIe advanced error reporting fails From: Ralph Campbell To: Roland Dreier CC: Jason Gunthorpe , "linux-rdma@vger.kernel.org" In-Reply-To: References: <20101022222937.28161.50341.stgit@chromite.mv.qlogic.com> <20101022222951.28161.23347.stgit@chromite.mv.qlogic.com> <20101022225710.GD15514@obsidianresearch.com> Organization: QLogic Date: Mon, 25 Oct 2010 13:35:33 -0700 Message-ID: <1288038933.27343.392.camel@chromite.mv.qlogic.com> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 25 Oct 2010 20:35:36 +0000 (UTC) diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index f1d16d3..f3b5039 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c @@ -1243,6 +1243,7 @@ static int __devinit qib_init_one(struct pci_dev *pdev, qib_early_err(&pdev->dev, "QLogic PCIE device 0x%x cannot " "work if CONFIG_PCI_MSI is not enabled\n", ent->device); + dd = ERR_PTR(-ENODEV); #endif break;