diff options
author | Luck, Tony <tony.luck@intel.com> | 2010-08-12 12:16:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-23 18:17:20 -0700 |
commit | 07cda511c78db79974f56b277b3704bfc6bba711 (patch) | |
tree | dcb789e1a26df94460853885bb3cc52115f9d24d /drivers/serial | |
parent | 9ee47476d6734c9deb9ae9ab05d963302f6b6150 (diff) | |
download | linux-07cda511c78db79974f56b277b3704bfc6bba711.tar.gz linux-07cda511c78db79974f56b277b3704bfc6bba711.tar.bz2 linux-07cda511c78db79974f56b277b3704bfc6bba711.zip |
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>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/8250_early.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/8250_early.c b/drivers/serial/8250_early.c index b745792ec25a..eaafb98debed 100644 --- a/drivers/serial/8250_early.c +++ b/drivers/serial/8250_early.c @@ -203,13 +203,13 @@ static int __init parse_options(struct early_serial8250_device *device, if (mmio || mmio32) 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" : "", (unsigned long long)port->mapbase, device->options); else 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, device->options); |