dax: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 25 Sep 2017 10:41:13 +0000 (16:11 +0530)
committerDan Williams <dan.j.williams@intel.com>
Thu, 28 Sep 2017 16:13:06 +0000 (09:13 -0700)
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c

index 557b937035328e9376e8f4eee71beeaecefa0dc2..30d8a5aedd23d6b38a4dd9d53dbbb1147d993e42 100644 (file)
@@ -118,7 +118,7 @@ int __bdev_dax_supported(struct super_block *sb, int blocksize)
        put_dax(dax_dev);
 
        if (len < 1) {
-               pr_err("VFS (%s): error: dax access failed (%ld)",
+               pr_err("VFS (%s): error: dax access failed (%ld)\n",
                                sb->s_id, len);
                return len < 0 ? len : -EIO;
        }