aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/serial_core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index f977c98cfa95..308588e2072b 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -2154,12 +2154,11 @@ uart_report_port(struct uart_driver *drv, struct uart_port *port)
2154 2154
2155 switch (port->iotype) { 2155 switch (port->iotype) {
2156 case UPIO_PORT: 2156 case UPIO_PORT:
2157 snprintf(address, sizeof(address), 2157 snprintf(address, sizeof(address), "I/O 0x%lx", port->iobase);
2158 "I/O 0x%x", port->iobase);
2159 break; 2158 break;
2160 case UPIO_HUB6: 2159 case UPIO_HUB6:
2161 snprintf(address, sizeof(address), 2160 snprintf(address, sizeof(address),
2162 "I/O 0x%x offset 0x%x", port->iobase, port->hub6); 2161 "I/O 0x%lx offset 0x%x", port->iobase, port->hub6);
2163 break; 2162 break;
2164 case UPIO_MEM: 2163 case UPIO_MEM:
2165 case UPIO_MEM32: 2164 case UPIO_MEM32: