lkml.org 
[lkml]   [2010]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/6] block: add some KERN_CONT markers to continuation lines
    Date
    Cc: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    ---
    block/genhd.c | 8 ++++----
    1 files changed, 4 insertions(+), 4 deletions(-)

    diff --git a/block/genhd.c b/block/genhd.c
    index 5fa2b44..9437048 100644
    --- a/block/genhd.c
    +++ b/block/genhd.c
    @@ -665,19 +665,19 @@ void __init printk_all_partitions(void)
    if (part->info)
    part_unpack_uuid(part->info->uuid, uuid);

    - printk("%s%s %10llu %s %s", is_part0 ? "" : " ",
    + printk(KERN_CONT "%s%s %10llu %s %s", is_part0 ? "" : " ",
    bdevt_str(part_devt(part), devt_buf),
    (unsigned long long)part->nr_sects >> 1,
    disk_name(disk, part->partno, name_buf), uuid);
    if (is_part0) {
    if (disk->driverfs_dev != NULL &&
    disk->driverfs_dev->driver != NULL)
    - printk(" driver: %s\n",
    + printk(KERN_CONT " driver: %s\n",
    disk->driverfs_dev->driver->name);
    else
    - printk(" (driver?)\n");
    + printk(KERN_CONT " (driver?)\n");
    } else
    - printk("\n");
    + printk(KERN_CONT "\n");
    }
    disk_part_iter_exit(&piter);
    }
    --
    1.7.2.3
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-11-24 10:01    [W:0.022 / U:0.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site