Commit 8433ac61 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Linus Torvalds

serial_txx9: use %lx for iobase

Fix a warning caused by commit 0c8946d9
(serial: Make uart_port's ioport "unsigned long".)
Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Josip Rodin <joy@entuzijast.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cbb2ed4a
...@@ -1039,7 +1039,7 @@ static int __devinit serial_txx9_probe(struct platform_device *dev) ...@@ -1039,7 +1039,7 @@ static int __devinit serial_txx9_probe(struct platform_device *dev)
ret = serial_txx9_register_port(&port); ret = serial_txx9_register_port(&port);
if (ret < 0) { if (ret < 0) {
dev_err(&dev->dev, "unable to register port at index %d " dev_err(&dev->dev, "unable to register port at index %d "
"(IO%x MEM%llx IRQ%d): %d\n", i, "(IO%lx MEM%llx IRQ%d): %d\n", i,
p->iobase, (unsigned long long)p->mapbase, p->iobase, (unsigned long long)p->mapbase,
p->irq, ret); p->irq, ret);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment