From 4f897f671b7549845c8450fd9f06640862b488ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 26 May 2005 06:30:47 +0000 Subject: [PATCH] Fix DPRINT1 messages to display correctly memory ranges svn path=/trunk/; revision=15498 --- reactos/drivers/usb/cromwell/linux/pci_hal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/usb/cromwell/linux/pci_hal.c b/reactos/drivers/usb/cromwell/linux/pci_hal.c index 625fc90053b..10338eaff60 100644 --- a/reactos/drivers/usb/cromwell/linux/pci_hal.c +++ b/reactos/drivers/usb/cromwell/linux/pci_hal.c @@ -126,7 +126,7 @@ name name of requester */ static int __inline__ request_mem_region(PHYSICAL_ADDRESS addr, unsigned long len, const char * d) { - DPRINT1("request_mem_region(): addr=0x%x, len=0x%x\n", addr, len); + DPRINT1("request_mem_region(): addr=0x%lx, len=0x%lx\n", addr.u.LowPart, len); return 1; } @@ -143,7 +143,7 @@ virtual start address of mapped range static void __inline__ *ioremap_nocache(PHYSICAL_ADDRESS addr, unsigned long len) { // MmMapIoSpace with NoCache param - DPRINT1("ioremap_nocache(): addr=0x%x, len=0x%x\n", addr, len); + DPRINT1("ioremap_nocache(): addr=0x%lx, len=0x%lx\n", addr.u.LowPart, len); return MmMapIoSpace(addr, len, MmNonCached); } @@ -157,6 +157,6 @@ n length of region */ static int __inline__ release_mem_region(PHYSICAL_ADDRESS addr, unsigned long len) { - DPRINT1("release_mem_region(): addr=0x%x, len=0x%x\n", addr, len); + DPRINT1("release_mem_region(): addr=0x%lx, len=0x%lx\n", addr.u.LowPart, len); return 0; }