mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
serial-make-uart_ports-ioport-unsigned-long-fix
Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
716da631ae
commit
9bde10a4b8
1 changed files with 2 additions and 3 deletions
|
|
@ -2154,12 +2154,11 @@ uart_report_port(struct uart_driver *drv, struct uart_port *port)
|
|||
|
||||
switch (port->iotype) {
|
||||
case UPIO_PORT:
|
||||
snprintf(address, sizeof(address),
|
||||
"I/O 0x%x", port->iobase);
|
||||
snprintf(address, sizeof(address), "I/O 0x%lx", port->iobase);
|
||||
break;
|
||||
case UPIO_HUB6:
|
||||
snprintf(address, sizeof(address),
|
||||
"I/O 0x%x offset 0x%x", port->iobase, port->hub6);
|
||||
"I/O 0x%lx offset 0x%x", port->iobase, port->hub6);
|
||||
break;
|
||||
case UPIO_MEM:
|
||||
case UPIO_MEM32:
|
||||
|
|
|
|||
Loading…
Reference in a new issue