lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1290589070-854-2-git-send-email-u.kleine-koenig@pengutronix.de>
Date:	Wed, 24 Nov 2010 09:57:46 +0100
From:	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de>
To:	linux-kernel@...r.kernel.org
Cc:	Russell King - ARM Linux <linux@....linux.org.uk>,
	kernel@...gutronix.de, Arjan van de Ven <arjan@...radead.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Jens Axboe <axboe@...nel.dk>
Subject: [PATCH 2/6] block: add some KERN_CONT markers to continuation lines

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ