diff options
author | Matias Bjørling <m@bjorling.me> | 2015-11-16 15:34:46 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-16 15:20:38 -0700 |
commit | dad1b00977f9dc8120b48f9711deb4aa6462a3a6 (patch) | |
tree | 9d3025c92c47bfdb1d414503f78c789ce9cc3f97 | |
parent | 2393bd39c77f21488ac7e5337cac1523e9ebd2c4 (diff) | |
download | op-kernel-dev-dad1b00977f9dc8120b48f9711deb4aa6462a3a6.zip op-kernel-dev-dad1b00977f9dc8120b48f9711deb4aa6462a3a6.tar.gz |
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>
-rw-r--r-- | drivers/nvme/host/lightnvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/lightnvm.c b/drivers/nvme/host/lightnvm.c index fd37123..7e82fe3 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; |