From b689de85e8c78b9dc03c1bd4c3ca0f4e75714e92 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Thu, 9 May 2019 08:43:55 +0900 Subject: [PATCH] Add missing trailing '\n' in printk() messages These messages will want '\n' like any other regular printk() messages. Reviewed by: Brian Behlendorf Reviewed-by: Richard Laager Reviewed-by: George Melikov Signed-off-by: Tomohiro Kusumi Closes #8726 --- module/spl/spl-generic.c | 3 ++- module/zfs/zfs_vfsops.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index a22e93e363..cd2fa20205 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -662,7 +662,8 @@ spl_random_init(void) } printk("SPL: get_random_bytes() returned 0 " "when generating random seed. Setting initial seed to " - "0x%016llx%016llx.", cpu_to_be64(s[0]), cpu_to_be64(s[1])); + "0x%016llx%016llx.\n", cpu_to_be64(s[0]), + cpu_to_be64(s[1])); } for_each_possible_cpu(i) { diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c index 18194a5dc4..371c412f6b 100644 --- a/module/zfs/zfs_vfsops.c +++ b/module/zfs/zfs_vfsops.c @@ -1002,7 +1002,7 @@ zfsvfs_init(zfsvfs_t *zfsvfs, objset_t *os) zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { (void) printk("Can't mount a version %lld file system " "on a version %lld pool\n. Pool must be upgraded to mount " - "this file system.", (u_longlong_t)zfsvfs->z_version, + "this file system.\n", (u_longlong_t)zfsvfs->z_version, (u_longlong_t)spa_version(dmu_objset_spa(os))); return (SET_ERROR(ENOTSUP)); }