Re: [PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-04 Thread Aaro Koskinen
Hi, On Sat, Mar 03, 2018 at 06:14:33PM +0200, Andy Shevchenko wrote: > On Fri, Mar 2, 2018 at 10:55 PM, Aaro Koskinen wrote: > > Use pr_cont() at the end of ramdisk loading. This will avoid the rotator > > and an extra newline appearing in the dmesg. > > > printk(

Re: [PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 10:55 PM, Aaro Koskinen wrote: > Use pr_cont() at the end of ramdisk loading. This will avoid the rotator > and an extra newline appearing in the dmesg. > printk("Error closing the disk.\n"); What about this one? -- With Best Regards, Andy

[PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-02 Thread Aaro Koskinen
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. Si