]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PCI Hotplug: Trivial warning fix
authorMartin Hicks <mort@wildopensource.com>
Thu, 29 Jan 2004 07:34:24 +0000 (23:34 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 29 Jan 2004 07:34:24 +0000 (23:34 -0800)
This just gets rid of a stupid compile warning.

drivers/pci/hotplug/acpiphp_glue.c

index bbf25f2b84ec5c75c123e1b8eb96e24f2b68e99f..8e9c0036be167a404b9c6a6990c1f640bbd5a748 100644 (file)
@@ -245,7 +245,9 @@ decode_acpi_resource (struct acpi_resource *resource, void *context)
        acpi_resource_to_address64(resource, &address);
 
        if (address.producer_consumer == ACPI_PRODUCER && address.address_length > 0) {
-               dbg("resource type: %d: 0x%llx - 0x%llx\n", address.resource_type, address.min_address_range, address.max_address_range);
+               dbg("resource type: %d: 0x%llx - 0x%llx\n", address.resource_type,
+                   (unsigned long long)address.min_address_range,
+                   (unsigned long long)address.max_address_range);
                res = acpiphp_make_resource(address.min_address_range,
                                    address.address_length);
                if (!res) {