From patchwork Fri Oct 22 22:29:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Campbell X-Patchwork-Id: 278211 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 o9MMaWib008773 for ; Fri, 22 Oct 2010 22:36:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751209Ab0JVWgb (ORCPT ); Fri, 22 Oct 2010 18:36:31 -0400 Received: from vpn.pathscale.com ([198.186.3.75]:47774 "HELO mx.mv.qlogic.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with SMTP id S1750837Ab0JVWgb (ORCPT ); Fri, 22 Oct 2010 18:36:31 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 22 Oct 2010 22:36:33 +0000 (UTC) X-Greylist: delayed 401 seconds by postgrey-1.27 at vger.kernel.org; Fri, 22 Oct 2010 18:36:31 EDT Received: from chromite.mv.qlogic.com (chromite.mv.qlogic.com [10.29.2.82]) by mx.mv.qlogic.com (Postfix) with ESMTP id 01E5F143007D; Fri, 22 Oct 2010 15:29:55 -0700 (PDT) Received: from chromite.mv.qlogic.com (localhost.localdomain [127.0.0.1]) by chromite.mv.qlogic.com (Postfix) with ESMTP id EED8714294D; Fri, 22 Oct 2010 15:29:54 -0700 (PDT) From: Ralph Campbell Subject: [PATCH 2/2] IB/qib: Allow driver to load if PCIe advanced error reporting fails To: Roland Dreier Cc: linux-rdma@vger.kernel.org Date: Fri, 22 Oct 2010 15:29:54 -0700 Message-ID: <20101022222951.28161.23347.stgit@chromite.mv.qlogic.com> In-Reply-To: <20101022222937.28161.50341.stgit@chromite.mv.qlogic.com> References: <20101022222937.28161.50341.stgit@chromite.mv.qlogic.com> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/drivers/infiniband/hw/qib/qib_pcie.c b/drivers/infiniband/hw/qib/qib_pcie.c index 7fa6e55..8a64426 100644 --- a/drivers/infiniband/hw/qib/qib_pcie.c +++ b/drivers/infiniband/hw/qib/qib_pcie.c @@ -109,10 +109,12 @@ int qib_pcie_init(struct pci_dev *pdev, const struct pci_device_id *ent) pci_set_master(pdev); ret = pci_enable_pcie_error_reporting(pdev); - if (ret) + if (ret) { qib_early_err(&pdev->dev, "Unable to enable pcie error reporting: %d\n", ret); + ret = 0; + } goto done; bail: