ACPI: fix ia64 build warning
authorLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 05:47:29 +0000 (01:47 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 05:47:29 +0000 (01:47 -0400)
arch/ia64/sn/kernel/io_acpi_init.c:361: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’

Signed-off-by: Len Brown <len.brown@intel.com>
arch/ia64/sn/kernel/io_acpi_init.c

index a15baacaba437792cb51edd98b34ba5369b9f488..bc610a6c7851bab9c4a58c639cea8d12778724c9 100644 (file)
@@ -357,7 +357,7 @@ sn_acpi_get_pcidev_info(struct pci_dev *dev, struct pcidev_info **pcidev_info,
         if (ACPI_SUCCESS(status)) {
                if (segment != pci_domain_nr(dev)) {
                        printk(KERN_ERR
-                              "%s: Segment number mismatch, 0x%lx vs 0x%x for: ",
+                              "%s: Segment number mismatch, 0x%llx vs 0x%x for: ",
                               __func__, segment, pci_domain_nr(dev));
                        acpi_ns_print_node_pathname(rootbus_handle, NULL);
                        printk("\n");