[PATCH 1/6] serial: print early console device address in hex

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg Kroah-Hartman
Date: Monday, August 23, 2010 - 9:24 pm

From: Luck, Tony <tony.luck@intel.com>

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>
---
 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 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);
 
-- 
1.7.2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] TTY fixes for .36-rc2, Greg KH, (Mon Aug 23, 9:05 pm)
[PATCH 1/6] serial: print early console device address in hex, Greg Kroah-Hartman, (Mon Aug 23, 9:24 pm)
[PATCH 2/6] ip2: remove unneeded NULL check, Greg Kroah-Hartman, (Mon Aug 23, 9:24 pm)
[PATCH 3/6] ip2: return -EFAULT on copy_to_user errors, Greg Kroah-Hartman, (Mon Aug 23, 9:24 pm)
[PATCH 4/6] rocket: add a mutex_unlock(), Greg Kroah-Hartman, (Mon Aug 23, 9:24 pm)
[PATCH 5/6] synclink: add mutex_unlock() on error path, Greg Kroah-Hartman, (Mon Aug 23, 9:24 pm)
[PATCH 6/6] 68328serial: check return value of copy_*_user ..., Greg Kroah-Hartman, (Mon Aug 23, 9:24 pm)