diff options
author | 2025-05-20 13:20:37 -0700 | |
---|---|---|
committer | 2025-06-04 09:51:10 +0200 | |
commit | 10f4a7cd724e34b7a6ff96e57ac49dc0cadececc (patch) | |
tree | aca282bb81aa44e6b95bcb1554fcd9e32fc7b458 /include | |
parent | selftests: ublk: kublk: improve behavior on init failure (diff) | |
download | linux-rng-10f4a7cd724e34b7a6ff96e57ac49dc0cadececc.tar.xz linux-rng-10f4a7cd724e34b7a6ff96e57ac49dc0cadececc.zip |
nvme: fix command limits status code
The command specific status code, 0x183, was introduced in the NVMe 2.0
specification defined to "Command Size Limits Exceeded" and only ever
applied to DSM and Copy commands. Fix the name and, remove the
incorrect translation to error codes and special treatment in the
target code for it.
Fixes: 3b7c33b28a44d4 ("nvme.h: add Write Zeroes definitions")
Cc: Chaitanya Kulkarni <chaitanyak@nvidia.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 51308f65b72f..b65a1b9f2116 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -2171,7 +2171,7 @@ enum { NVME_SC_BAD_ATTRIBUTES = 0x180, NVME_SC_INVALID_PI = 0x181, NVME_SC_READ_ONLY = 0x182, - NVME_SC_ONCS_NOT_SUPPORTED = 0x183, + NVME_SC_CMD_SIZE_LIM_EXCEEDED = 0x183, /* * I/O Command Set Specific - Fabrics commands: |