serial: print early console device address in hex
Device addresses are usually printed in hex. Signed-off-by: Tony Luck <tony.luck@intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9ee47476d6
commit
07cda511c7
@@ -203,13 +203,13 @@ static int __init parse_options(struct early_serial8250_device *device,
|
|||||||
|
|
||||||
if (mmio || mmio32)
|
if (mmio || mmio32)
|
||||||
printk(KERN_INFO
|
printk(KERN_INFO
|
||||||
"Early serial console at MMIO%s 0x%llu (options '%s')\n",
|
"Early serial console at MMIO%s 0x%llx (options '%s')\n",
|
||||||
mmio32 ? "32" : "",
|
mmio32 ? "32" : "",
|
||||||
(unsigned long long)port->mapbase,
|
(unsigned long long)port->mapbase,
|
||||||
device->options);
|
device->options);
|
||||||
else
|
else
|
||||||
printk(KERN_INFO
|
printk(KERN_INFO
|
||||||
"Early serial console at I/O port 0x%lu (options '%s')\n",
|
"Early serial console at I/O port 0x%lx (options '%s')\n",
|
||||||
port->iobase,
|
port->iobase,
|
||||||
device->options);
|
device->options);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user