aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2018-12-12 15:11:37 -0800
committerChristoph Hellwig <hch@lst.de>2018-12-13 09:59:01 +0100
commitb7c8f3663d0e0773aca3324c26bce3ca8343ec14 (patch)
tree7969861c5bb4644247f5f664d417a17457a38538 /include/linux/nvme.h
parentnvmet: remove unused variable (diff)
downloadwireguard-linux-b7c8f3663d0e0773aca3324c26bce3ca8343ec14.tar.xz
wireguard-linux-b7c8f3663d0e0773aca3324c26bce3ca8343ec14.zip
nvme: remove nvme_common command cdw10 array
This is a preparation patch which removes the nvme common command cdw10 array and replace with individual fields. This is needed for the nvmet error log page implementation make is error log page entry offset assignment easier. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 4d7907e3771e..b94fe8fadc4f 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -662,7 +662,12 @@ struct nvme_common_command {
__le32 cdw2[2];
__le64 metadata;
union nvme_data_ptr dptr;
- __le32 cdw10[6];
+ __le32 cdw10;
+ __le32 cdw11;
+ __le32 cdw12;
+ __le32 cdw13;
+ __le32 cdw14;
+ __le32 cdw15;
};
struct nvme_rw_command {