From patchwork Mon Mar 22 22:34:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 87524 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2MMYCIl020694 for ; Mon, 22 Mar 2010 22:34:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755655Ab0CVWeR (ORCPT ); Mon, 22 Mar 2010 18:34:17 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:18555 "EHLO g6t0184.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755195Ab0CVWeQ (ORCPT ); Mon, 22 Mar 2010 18:34:16 -0400 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g6t0184.atlanta.hp.com (Postfix) with ESMTP id E6268C007; Mon, 22 Mar 2010 22:34:15 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id BD87014009; Mon, 22 Mar 2010 22:34:15 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 9B7DCCF0028; Mon, 22 Mar 2010 16:34:15 -0600 (MDT) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wIomTm2UUb24; Mon, 22 Mar 2010 16:34:15 -0600 (MDT) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 8668ACF0021; Mon, 22 Mar 2010 16:34:15 -0600 (MDT) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 6EC13262A3; Mon, 22 Mar 2010 16:34:15 -0600 (MDT) Subject: [PATCH 3/3] frv/PCI: remove redundant warnings To: Jesse Barnes From: Bjorn Helgaas Cc: David Howells , linux-pci@vger.kernel.org Date: Mon, 22 Mar 2010 16:34:15 -0600 Message-ID: <20100322223415.11979.52986.stgit@bob.kio> In-Reply-To: <20100322223405.11979.49633.stgit@bob.kio> References: <20100322223405.11979.49633.stgit@bob.kio> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 22 Mar 2010 22:34:17 +0000 (UTC) diff --git a/arch/frv/mb93090-mb00/pci-frv.c b/arch/frv/mb93090-mb00/pci-frv.c index 1ed15d7..16bc2cb 100644 --- a/arch/frv/mb93090-mb00/pci-frv.c +++ b/arch/frv/mb93090-mb00/pci-frv.c @@ -94,8 +94,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list) r = &dev->resource[idx]; if (!r->start) continue; - if (pci_claim_resource(dev, idx) < 0) - printk(KERN_ERR "PCI: Cannot allocate resource region %d of bridge %s\n", idx, pci_name(dev)); + pci_claim_resource(dev, idx); } } pcibios_allocate_bus_resources(&bus->children); @@ -125,7 +124,6 @@ static void __init pcibios_allocate_resources(int pass) DBG("PCI: Resource %08lx-%08lx (f=%lx, d=%d, p=%d)\n", r->start, r->end, r->flags, disabled, pass); if (pci_claim_resource(dev, idx) < 0) { - printk(KERN_ERR "PCI: Cannot allocate resource region %d of device %s\n", idx, pci_name(dev)); /* We'll assign a new address later */ r->end -= r->start; r->start = 0;