Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6222d172 authored by Jens Axboe's avatar Jens Axboe
Browse files

NVMe: cq_vector should be signed



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: 2b25d981
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent f800c25b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ struct nvme_queue {
	dma_addr_t cq_dma_addr;
	u32 __iomem *q_db;
	u16 q_depth;
	u16 cq_vector;
	s16 cq_vector;
	u16 sq_head;
	u16 sq_tail;
	u16 cq_head;