summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2015-11-16 15:34:46 +0100
committerJens Axboe <axboe@fb.com>2015-11-16 15:20:38 -0700
commitdad1b00977f9dc8120b48f9711deb4aa6462a3a6 (patch)
tree9d3025c92c47bfdb1d414503f78c789ce9cc3f97 /drivers/nvme
parent2393bd39c77f21488ac7e5337cac1523e9ebd2c4 (diff)
downloadlinux-dad1b00977f9dc8120b48f9711deb4aa6462a3a6.tar.bz2
nvme: remove reserved double word
The specification was updated the remove the double word just after number of configuration groups and capabilities. Update the identify structure to reflect it. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/lightnvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/lightnvm.c b/drivers/nvme/host/lightnvm.c
index fd37123d26b8..7e82fe33d6f8 100644
--- a/drivers/nvme/host/lightnvm.c
+++ b/drivers/nvme/host/lightnvm.c
@@ -194,11 +194,11 @@ struct nvme_nvm_id {
__u8 ver_id;
__u8 vmnt;
__u8 cgrps;
- __u8 res[5];
+ __u8 res;
__le32 cap;
__le32 dom;
struct nvme_nvm_addr_format ppaf;
- __u8 resv[224];
+ __u8 resv[228];
struct nvme_nvm_id_group groups[4];
} __packed;