]> www.infradead.org Git - nvme.git/commitdiff
nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATH
authorYi Zhang <yi.zhang@redhat.com>
Wed, 10 Apr 2024 00:57:14 +0000 (08:57 +0800)
committerKeith Busch <kbusch@kernel.org>
Fri, 12 Apr 2024 00:22:13 +0000 (17:22 -0700)
Move the stray '.' that is currently at the end of the line after
newline '\n' to before newline character which is the right position.

Fixes: ce8d78616a6b ("nvme: warn about shared namespaces without CONFIG_NVME_MULTIPATH")
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c

index 27281a9a8951dbd53f30a27a14e0ac0be9a35c5d..e4bec200ebeb27077083995283eb9e0a746fef9c 100644 (file)
@@ -3681,7 +3681,7 @@ static int nvme_init_ns_head(struct nvme_ns *ns, struct nvme_ns_info *info)
                                "Found shared namespace %d, but multipathing not supported.\n",
                                info->nsid);
                        dev_warn_once(ctrl->device,
-                               "Support for shared namespaces without CONFIG_NVME_MULTIPATH is deprecated and will be removed in Linux 6.0\n.");
+                               "Support for shared namespaces without CONFIG_NVME_MULTIPATH is deprecated and will be removed in Linux 6.0.\n");
                }
        }