diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 52a49ae5b6730157d81db25595b6ab5a9769af90..1ce579d583c064ff773b9ca69e1711085252a0d8 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -809,6 +809,8 @@ static int nvme_configure_directives(struct nvme_ctrl *ctrl) if (ctrl->nssa < BLK_MAX_WRITE_HINTS - 1) { dev_info(ctrl->device, "too few streams (%u) available\n", ctrl->nssa); + /* this condition is not an error: streams are optional */ + ret = 0; goto out_disable_stream; }