The patch titled Subject: init/ramdisk: use pr_cont() at the end of ramdisk loading has been added to the -mm tree. Its filename is init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Aaro Koskinen <aaro.koskinen@xxxxxx> Subject: init/ramdisk: use pr_cont() at the end of ramdisk loading Use pr_cont() at the end of ramdisk loading. This will avoid the rotator and an extra newline appearing in the dmesg. Before: [ 0.868650] RAMDISK: Loading 2436KiB [1 disk] into ram disk... | [ 1.490464] done. After: [ 0.868587] RAMDISK: Loading 2436KiB [1 disk] into ram disk... done. Link: http://lkml.kernel.org/r/20180302205552.16031-1-aaro.koskinen@xxxxxx Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/do_mounts_rd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN init/do_mounts_rd.c~init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading init/do_mounts_rd.c --- a/init/do_mounts_rd.c~init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading +++ a/init/do_mounts_rd.c @@ -255,7 +255,7 @@ int __init rd_load_image(char *from) nblocks, ((nblocks-1)/devblocks)+1, nblocks>devblocks ? "s" : ""); for (i = 0, disk = 1; i < nblocks; i++) { if (i && (i % devblocks == 0)) { - printk("done disk #%d.\n", disk++); + pr_cont("done disk #%d.\n", disk++); rotate = 0; if (sys_close(in_fd)) { printk("Error closing the disk.\n"); @@ -278,7 +278,7 @@ int __init rd_load_image(char *from) } #endif } - printk("done.\n"); + pr_cont("done.\n"); successful_load: res = 1; _ Patches currently in -mm which might be from aaro.koskinen@xxxxxx are init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html