From patchwork Tue Oct 6 21:33:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 52059 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n96LcKX5002198 for ; Tue, 6 Oct 2009 21:38:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933427AbZJFVeL (ORCPT ); Tue, 6 Oct 2009 17:34:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933404AbZJFVeJ (ORCPT ); Tue, 6 Oct 2009 17:34:09 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:39132 "EHLO g5t0009.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933391AbZJFVeG (ORCPT ); Tue, 6 Oct 2009 17:34:06 -0400 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g5t0009.atlanta.hp.com (Postfix) with ESMTP id F262230235; Tue, 6 Oct 2009 21:33:29 +0000 (UTC) Received: from ldl (linux.corp.hp.com [15.11.146.101]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id BE690241B8; Tue, 6 Oct 2009 21:33:29 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 8D6E9CF0024; Tue, 6 Oct 2009 15:33:29 -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 xsWLzr2iGrhd; Tue, 6 Oct 2009 15:33:29 -0600 (MDT) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 78B98CF0022; Tue, 6 Oct 2009 15:33:29 -0600 (MDT) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 5958926157; Tue, 6 Oct 2009 15:33:29 -0600 (MDT) Subject: [PATCH 1/7] vsprintf: fix io/mem resource width To: Jesse Barnes From: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Date: Tue, 06 Oct 2009 15:33:29 -0600 Message-ID: <20091006213329.4272.6694.stgit@bob.kio> In-Reply-To: <20091006213259.4272.68068.stgit@bob.kio> References: <20091006213259.4272.68068.stgit@bob.kio> User-Agent: StGit/0.14.3.386.gb02d MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 33bed5e..7830576 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -598,11 +598,11 @@ static char *resource_string(char *buf, char *end, struct resource *res, struct printf_spec spec) { #ifndef IO_RSRC_PRINTK_SIZE -#define IO_RSRC_PRINTK_SIZE 4 +#define IO_RSRC_PRINTK_SIZE 6 #endif #ifndef MEM_RSRC_PRINTK_SIZE -#define MEM_RSRC_PRINTK_SIZE 8 +#define MEM_RSRC_PRINTK_SIZE 10 #endif struct printf_spec num_spec = { .base = 16,