From 666f988ee11f3ca3a779218fc2f4422db0c7c970 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Tue, 7 Oct 2003 00:58:45 +0100 Subject: [PATCH] [Serial] Fix warnings in 8250_acpi Patch from Bjorn Helgaas. Lastest changes in 8250_acpi.c produce warnings about type mismatch in printk. --- drivers/serial/8250_acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/serial/8250_acpi.c b/drivers/serial/8250_acpi.c index 3c127e76a0c21..726bec54a02bb 100644 --- a/drivers/serial/8250_acpi.c +++ b/drivers/serial/8250_acpi.c @@ -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; -- 2.53.0