summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/fault_inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvme/host/fault_inject.c')
-rw-r--r--drivers/nvme/host/fault_inject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/fault_inject.c b/drivers/nvme/host/fault_inject.c
index 1ba10a5c656d..1d1b6441a339 100644
--- a/drivers/nvme/host/fault_inject.c
+++ b/drivers/nvme/host/fault_inject.c
@@ -75,7 +75,7 @@ void nvme_should_fail(struct request *req)
/* inject status code and DNR bit */
status = fault_inject->status;
if (fault_inject->dont_retry)
- status |= NVME_SC_DNR;
+ status |= NVME_STATUS_DNR;
nvme_req(req)->status = status;
}
}