]> git.neil.brown.name Git - history.git/commitdiff
[Serial] Fix warnings in 8250_acpi
authorBjorn Helgaas <bjorn.helgaas@com.rmk.(none)>
Mon, 6 Oct 2003 23:58:45 +0000 (00:58 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 6 Oct 2003 23:58:45 +0000 (00:58 +0100)
Patch from Bjorn Helgaas.

Lastest changes in 8250_acpi.c produce warnings about type mismatch
in printk.

drivers/serial/8250_acpi.c

index 3c127e76a0c21d9bcbf40bf29fb8ee756927955e..726bec54a02bbc7d9b4331be2c21778bcdf6e5cd 100644 (file)
@@ -28,8 +28,7 @@ static acpi_status acpi_serial_mmio(struct serial_struct *req,
        req->iomem_base = ioremap(req->iomap_base, size);
        if (!req->iomem_base) {
                printk(KERN_ERR "%s: couldn't ioremap 0x%lx-0x%lx\n",
-                       __FUNCTION__, addr->min_address_range,
-                       addr->max_address_range);
+                       __FUNCTION__, req->iomap_base, req->iomap_base + size);
                return AE_ERROR;
        }
        req->io_type = SERIAL_IO_MEM;