[PATCH 2/6] block: add some KERN_CONT markers to continuation lines

From: Uwe Kleine-KÃnig
Date: Wed Nov 24 2010 - 03:58:58 EST


Cc: Jens Axboe <axboe@xxxxxxxxx>
Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/