Re: [PATCH] PCI Update for 2.6.2-rc2

From: Greg KH
Date: Thu Jan 29 2004 - 20:39:40 EST


ChangeSet 1.1516, 2004/01/29 15:34:24-08:00, mort@xxxxxxxxxxxxxxxxxx

[PATCH] PCI Hotplug: Trivial warning fix

This just gets rid of a stupid compile warning.


drivers/pci/hotplug/acpiphp_glue.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)


diff -Nru a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
--- a/drivers/pci/hotplug/acpiphp_glue.c Thu Jan 29 17:24:18 2004
+++ b/drivers/pci/hotplug/acpiphp_glue.c Thu Jan 29 17:24:18 2004
@@ -245,7 +245,9 @@
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) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/