From: Atsushi Nemoto Date: Sun, 19 Oct 2008 03:25:53 +0000 (-0700) Subject: serial_txx9: use %lx for iobase X-Git-Tag: v2.6.28-rc1~250 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8433ac61acf733dc4b427de5f0891518c21538f9;p=linux-2.6-omap-h63xx.git serial_txx9: use %lx for iobase Fix a warning caused by commit 0c8946d97ae7d2d6691f8290a10faa63453b63f8 (serial: Make uart_port's ioport "unsigned long".) Signed-off-by: Atsushi Nemoto Cc: Alan Cox Cc: Josip Rodin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c index 8fcb4c5b9a2..7313c2edcb8 100644 --- a/drivers/serial/serial_txx9.c +++ b/drivers/serial/serial_txx9.c @@ -1039,7 +1039,7 @@ static int __devinit serial_txx9_probe(struct platform_device *dev) ret = serial_txx9_register_port(&port); if (ret < 0) { 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->irq, ret); }