diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-11-11 14:26:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-12 07:25:57 -0800 |
commit | 80647b959f97fa20a4714dde3e07b7f69d896556 (patch) | |
tree | e181abfb54d13f23bbb80cb6c61246e74d444682 /drivers/serial/8250_pci.c | |
parent | 05f45d7d746d07c95588871abf933334856c1a3b (diff) | |
download | kernel_samsung_smdk4412-80647b959f97fa20a4714dde3e07b7f69d896556.zip kernel_samsung_smdk4412-80647b959f97fa20a4714dde3e07b7f69d896556.tar.gz kernel_samsung_smdk4412-80647b959f97fa20a4714dde3e07b7f69d896556.tar.bz2 |
serial: fix printk format specifiers for struct uart_port::iobase
struct uart_port::iobase is unsigned long, so use %lx as printk format
specifier.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/8250_pci.c')
-rw-r--r-- | drivers/serial/8250_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 42e8550..b2d65b2 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c @@ -2383,7 +2383,7 @@ pciserial_init_ports(struct pci_dev *dev, const struct pciserial_board *board) break; #ifdef SERIAL_DEBUG_PCI - printk(KERN_DEBUG "Setup PCI port: port %x, irq %d, type %d\n", + printk(KERN_DEBUG "Setup PCI port: port %lx, irq %d, type %d\n", serial_port.iobase, serial_port.irq, serial_port.iotype); #endif |