Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932653Ab0KLViO (ORCPT ); Fri, 12 Nov 2010 16:38:14 -0500 Received: from mail.perches.com ([173.55.12.10]:4992 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932150Ab0KLViL (ORCPT ); Fri, 12 Nov 2010 16:38:11 -0500 From: Joe Perches To: Jiri Kosina Cc: David Howells , linux-kernel@vger.kernel.org Subject: [PATCH 01/14] arch/frv: Use printf extension %pR for struct resource Date: Fri, 12 Nov 2010 13:37:51 -0800 Message-Id: X-Mailer: git-send-email 1.7.3.1.g432b3.dirty In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1618 Lines: 41 Using %pR standardizes the struct resource output. Signed-off-by: Joe Perches --- arch/frv/mb93090-mb00/pci-vdk.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/frv/mb93090-mb00/pci-vdk.c b/arch/frv/mb93090-mb00/pci-vdk.c index f8dd37e..4ff9e70 100644 --- a/arch/frv/mb93090-mb00/pci-vdk.c +++ b/arch/frv/mb93090-mb00/pci-vdk.c @@ -382,9 +382,7 @@ int __init pcibios_init(void) pci_ioport_resource.end = (__reg_MB86943_sl_pci_io_range << 9) | 0x3ff; pci_ioport_resource.end += pci_ioport_resource.start; - printk("PCI IO window: %08llx-%08llx\n", - (unsigned long long) pci_ioport_resource.start, - (unsigned long long) pci_ioport_resource.end); + printk("PCI IO window: %pR\n", &pci_ioport_resource); pci_iomem_resource.start = (__reg_MB86943_sl_pci_mem_base << 9) & 0xfffffc00; pci_iomem_resource.end = (__reg_MB86943_sl_pci_mem_range << 9) | 0x3ff; @@ -397,9 +395,7 @@ int __init pcibios_init(void) */ pci_iomem_resource.start += 0x400; - printk("PCI MEM window: %08llx-%08llx\n", - (unsigned long long) pci_iomem_resource.start, - (unsigned long long) pci_iomem_resource.end); + printk("PCI MEM window: %pR\n", &pci_iomem_resource); printk("PCI DMA memory: %08lx-%08lx\n", dma_coherent_mem_start, dma_coherent_mem_end); -- 1.7.3.1.g432b3.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/