aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2010-08-12 12:16:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-23 18:17:20 -0700
commit07cda511c78db79974f56b277b3704bfc6bba711 (patch)
treedcb789e1a26df94460853885bb3cc52115f9d24d /drivers
parentMerge branch 'radix-tree' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfsdev (diff)
downloadlinux-dev-07cda511c78db79974f56b277b3704bfc6bba711.tar.xz
linux-dev-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')
-rw-r--r--drivers/serial/8250_early.c4
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);