lkml.org 
[lkml]   [2010]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/6] serial: print early console device address in hex
    Date
    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


    \
     
     \ /
      Last update: 2010-08-24 06:27    [W:0.040 / U:32.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site