mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
05f45d7d74
commit
80647b959f
2 changed files with 2 additions and 2 deletions
|
@ -1089,7 +1089,7 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
|
|||
if (!up->port.iobase && !up->port.mapbase && !up->port.membase)
|
||||
return;
|
||||
|
||||
DEBUG_AUTOCONF("ttyS%d: autoconf (0x%04x, 0x%p): ",
|
||||
DEBUG_AUTOCONF("ttyS%d: autoconf (0x%04lx, 0x%p): ",
|
||||
serial_index(&up->port), up->port.iobase, up->port.membase);
|
||||
|
||||
/*
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue