Skip to content

Commit

Permalink
serial: print early console device address in hex
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luck, Tony authored and Greg Kroah-Hartman committed Aug 24, 2010
1 parent 9ee4747 commit 07cda51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/8250_early.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 07cda51

Please sign in to comment.