aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/nvme/host/nvme.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index cee79cb388af..081cbdcce880 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -531,6 +531,9 @@ static inline void nvme_mpath_check_last_path(struct nvme_ns *ns)
531static inline int nvme_mpath_init(struct nvme_ctrl *ctrl, 531static inline int nvme_mpath_init(struct nvme_ctrl *ctrl,
532 struct nvme_id_ctrl *id) 532 struct nvme_id_ctrl *id)
533{ 533{
534 if (ctrl->subsys->cmic & (1 << 3))
535 dev_warn(ctrl->device,
536"Please enable CONFIG_NVME_MULTIPATH for full support of multi-port devices.\n");
534 return 0; 537 return 0;
535} 538}
536static inline void nvme_mpath_uninit(struct nvme_ctrl *ctrl) 539static inline void nvme_mpath_uninit(struct nvme_ctrl *ctrl)