projects
/
GitHub
/
moto-9609
/
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:
49bdedb
)
nvme: fix cntlid type
author
Christoph Hellwig
<hch@lst.de>
Sat, 16 Apr 2016 18:57:58 +0000
(14:57 -0400)
committer
Jens Axboe
<axboe@fb.com>
Tue, 26 Apr 2016 14:31:22 +0000
(08:31 -0600)
Controller IDs in NVMe are unsigned 16-bit types. In the Fabrics driver we
actually pass ctrl->id by reference, so we need it to have the correct type.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/nvme.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/nvme.h
b/drivers/nvme/host/nvme.h
index 8e8fae8722f878af9700384a14e724925c244f02..9b96e758619431f23a05c7b578ed6f0ff6522cca 100644
(file)
--- a/
drivers/nvme/host/nvme.h
+++ b/
drivers/nvme/host/nvme.h
@@
-84,7
+84,7
@@
struct nvme_ctrl {
char serial[20];
char model[40];
char firmware_rev[8];
-
int
cntlid;
+
u16
cntlid;
u32 ctrl_config;