projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2393bd3
)
nvme: remove reserved double word
author
Matias Bjørling
<m@bjorling.me>
Mon, 16 Nov 2015 14:34:46 +0000
(15:34 +0100)
committer
Jens Axboe
<axboe@fb.com>
Mon, 16 Nov 2015 22:20:38 +0000
(15:20 -0700)
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>
drivers/nvme/host/lightnvm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/lightnvm.c
b/drivers/nvme/host/lightnvm.c
index fd37123d26b84bbc7332b88440728d31691f44fb..7e82fe33d6f83ea11123fc974b30ea8b49ac3911 100644
(file)
--- 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[22
4
];
+ __u8 resv[22
8
];
struct nvme_nvm_id_group groups[4];
} __packed;