summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKlaus Jensen2020-03-30 23:10:13 +0200
committerKlaus Jensen2020-09-02 08:48:50 +0200
commit69265150aa53f0e1dbc85809800df40ffc9e7d67 (patch)
tree3fdaadd397b154bdbcdf3eaf3b15490c97b53d2e /include
parenthw/block/nvme: add check for mdts (diff)
downloadqemu-69265150aa53f0e1dbc85809800df40ffc9e7d67.tar.gz
qemu-69265150aa53f0e1dbc85809800df40ffc9e7d67.tar.xz
qemu-69265150aa53f0e1dbc85809800df40ffc9e7d67.zip
hw/block/nvme: be consistent about zeros vs zeroes
The NVM Express specification generally uses 'zeroes' and not 'zeros', so let us align with it. Cc: Fam Zheng <fam@euphon.net> Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/nvme.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h
index 370df7fc05..65e68a82c8 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -460,7 +460,7 @@ enum NvmeIoCommands {
NVME_CMD_READ = 0x02,
NVME_CMD_WRITE_UNCOR = 0x04,
NVME_CMD_COMPARE = 0x05,
- NVME_CMD_WRITE_ZEROS = 0x08,
+ NVME_CMD_WRITE_ZEROES = 0x08,
NVME_CMD_DSM = 0x09,
};
@@ -838,7 +838,7 @@ enum NvmeIdCtrlOncs {
NVME_ONCS_COMPARE = 1 << 0,
NVME_ONCS_WRITE_UNCORR = 1 << 1,
NVME_ONCS_DSM = 1 << 2,
- NVME_ONCS_WRITE_ZEROS = 1 << 3,
+ NVME_ONCS_WRITE_ZEROES = 1 << 3,
NVME_ONCS_FEATURES = 1 << 4,
NVME_ONCS_RESRVATIONS = 1 << 5,
NVME_ONCS_TIMESTAMP = 1 << 6,