aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Tuffli <chuck@FreeBSD.org>2020-12-14 17:18:59 +0000
committerChuck Tuffli <chuck@FreeBSD.org>2020-12-14 17:18:59 +0000
commit992fee619dfdc633b5d7ccd8e7caeb4da9212c4a (patch)
tree27dcd6bb89de1b216e7f7351c78d05db396acbaa
parent760d6774d775e8cbef9b1e42d7b1b0077f9e03ae (diff)
downloadsrc-992fee619dfdc633b5d7ccd8e7caeb4da9212c4a.tar.gz
src-992fee619dfdc633b5d7ccd8e7caeb4da9212c4a.zip
MFC r368275: nvme: Fix typo in definition
Notes
Notes: svn path=/stable/12/; revision=368638
-rw-r--r--sys/dev/nvme/nvme.h2
-rw-r--r--sys/dev/nvme/nvme_qpair.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
index 6d577c2f96f9..1065fce3ae56 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -732,7 +732,7 @@ enum nvme_command_specific_status_code {
NVME_SC_NS_NOT_ATTACHED = 0x1a,
NVME_SC_THIN_PROV_NOT_SUPPORTED = 0x1b,
NVME_SC_CTRLR_LIST_INVALID = 0x1c,
- NVME_SC_SELT_TEST_IN_PROGRESS = 0x1d,
+ NVME_SC_SELF_TEST_IN_PROGRESS = 0x1d,
NVME_SC_BOOT_PART_WRITE_PROHIB = 0x1e,
NVME_SC_INVALID_CTRLR_ID = 0x1f,
NVME_SC_INVALID_SEC_CTRLR_STATE = 0x20,
diff --git a/sys/dev/nvme/nvme_qpair.c b/sys/dev/nvme/nvme_qpair.c
index 2bbada25042d..0fe80c645f1c 100644
--- a/sys/dev/nvme/nvme_qpair.c
+++ b/sys/dev/nvme/nvme_qpair.c
@@ -272,7 +272,7 @@ static struct nvme_status_string command_specific_status[] = {
{ NVME_SC_NS_NOT_ATTACHED, "NS NOT ATTACHED" },
{ NVME_SC_THIN_PROV_NOT_SUPPORTED, "THIN PROVISIONING NOT SUPPORTED" },
{ NVME_SC_CTRLR_LIST_INVALID, "CONTROLLER LIST INVALID" },
- { NVME_SC_SELT_TEST_IN_PROGRESS, "DEVICE SELT-TEST IN PROGRESS" },
+ { NVME_SC_SELF_TEST_IN_PROGRESS, "DEVICE SELF-TEST IN PROGRESS" },
{ NVME_SC_BOOT_PART_WRITE_PROHIB, "BOOT PARTITION WRITE PROHIBITED" },
{ NVME_SC_INVALID_CTRLR_ID, "INVALID CONTROLLER IDENTIFIER" },
{ NVME_SC_INVALID_SEC_CTRLR_STATE, "INVALID SECONDARY CONTROLLER STATE" },