OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f800c25
)
NVMe: cq_vector should be signed
author
Jens Axboe
<axboe@fb.com>
Thu, 15 Jan 2015 22:19:10 +0000
(15:19 -0700)
committer
Jens Axboe
<axboe@fb.com>
Thu, 15 Jan 2015 22:19:10 +0000
(15:19 -0700)
This was inadvertently dropped from an earlier commit, otherwise
the check against cq_vector == -1 to prevent double free doesn't
make any sense.
Fixes:
2b25d981790b
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c
patch
|
blob
|
history
diff --git
a/drivers/block/nvme-core.c
b/drivers/block/nvme-core.c
index
cb529e9
..
d826bf3
100644
(file)
--- a/
drivers/block/nvme-core.c
+++ b/
drivers/block/nvme-core.c
@@
-106,7
+106,7
@@
struct nvme_queue {
dma_addr_t cq_dma_addr;
u32 __iomem *q_db;
u16 q_depth;
-
u
16 cq_vector;
+
s
16 cq_vector;
u16 sq_head;
u16 sq_tail;
u16 cq_head;