From: Jens Axboe Date: Thu, 15 Jan 2015 22:19:10 +0000 (-0700) Subject: NVMe: cq_vector should be signed X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6222d1721dd7d533b43747642419a8ff78ad6f99;p=linux-beck.git 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: 2b25d981790b Signed-off-by: Jens Axboe --- diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index cb529e9a82dd..d826bf3e62c8 100644 --- 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; - u16 cq_vector; + s16 cq_vector; u16 sq_head; u16 sq_tail; u16 cq_head;