From: Luck, Tony Date: Thu, 12 Aug 2010 19:16:43 +0000 (-0700) Subject: serial: print early console device address in hex X-Git-Tag: v2.6.36-rc3~39^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07cda511c78db79974f56b277b3704bfc6bba711;p=profile%2Fcommon%2Fkernel-common.git serial: print early console device address in hex Device addresses are usually printed in hex. Signed-off-by: Tony Luck Cc: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/serial/8250_early.c b/drivers/serial/8250_early.c index b745792..eaafb98 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);