]> git.baikalelectronics.ru Git - kernel.git/commit
init/ramdisk: use pr_cont() at the end of ramdisk loading
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 10 Apr 2018 23:34:34 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Apr 2018 17:28:36 +0000 (10:28 -0700)
commit04c4ba64a50656cf60a4ceacda23893cb1e29815
tree37b4924bc7e3537ef48e4cdb7ef7f2636c5ce5ef
parent6dc59361d49be673a037650139b0b9ddfda189c9
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:
  RAMDISK: Loading 2436KiB [1 disk] into ram disk... |
  done.

After:
  RAMDISK: Loading 2436KiB [1 disk] into ram disk... done.

Link: http://lkml.kernel.org/r/20180302205552.16031-1-aaro.koskinen@iki.fi
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts_rd.c