From: John Meneghini Date: Sat, 22 Mar 2025 23:28:48 +0000 (-0400) Subject: nvme: update the multipath warning in nvme_init_ns_head X-Git-Tag: v6.15-rc1~28^2~1^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47f8cc9e32c37343e18992c16ed2c7a9ac9ccd63;p=thirdparty%2Fkernel%2Flinux.git nvme: update the multipath warning in nvme_init_ns_head The new NVME_MULTIPATH_PARAM config option requires updates to the warning message in nvme_init_ns_head(). Signed-off-by: John Meneghini Tested-by: John Meneghini Signed-off-by: Keith Busch --- diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 777db89fdaa72..5ffc8f23a1740 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -3822,7 +3822,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"); + "Shared namespace support requires core_nvme.multipath=Y.\n"); } }