OSDN Git Service

tty: serial: 8250: Fix type field in format string
authorHao Lee <haolee.swjtu@gmail.com>
Mon, 29 Apr 2019 16:24:02 +0000 (00:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 10:12:03 +0000 (12:12 +0200)
commitdfaffb9dca90638f5e2e80f430283b7ecaeb1bb0
treeb2046c8f615ef26f1a977b805e4a3cf191cf3300
parent525667c0259d6072016436b189ece597b32c1648
tty: serial: 8250: Fix type field in format string

The dev_dbg statement should print the value of uart.port.mapbase instead
of its address. Besides that, uart.port.irq and uart.port.iotype are all
unsigned types, so using %u is more appropriate.

Signed-off-by: Hao Lee <haolee.swjtu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pnp.c