Skip to contentSkip to conversation

nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATH

PATCH In review Yi Zhang 3 participants 3 messages Apr 10, 2024 – Apr 12, 2024 NVMe

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH v2 1/1 nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATH

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")

---
V2:
- Update commit log as Christoph and Chaitanya suggested.

---
 drivers/nvme/host/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/host/core.c +1 -1
index 27281a9a8951..e4bec200ebeb 100644
@@ -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");
 		}
 	}
 
Signature · 1 line
2.34.3
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Yi Zhang

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")

---
V2:
- Update commit log as Christoph and Chaitanya suggested.
---

-ck

maintainer
#2 lore raw
In reply to Yi Zhang
Quoted 5 lines · Yi Zhang

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")

Thanks, patch applied to nvme-6.9.