]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/nvme/host/pci.c
NVMe: cq_vector should be signed
authorJens Axboe <axboe@fb.com>
Thu, 15 Jan 2015 22:19:10 +0000 (15:19 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 15 Jan 2015 22:19:10 +0000 (15:19 -0700)
commit6222d1721dd7d533b43747642419a8ff78ad6f99
tree11d3b7e05d7ab3c414b0bca6d5ec22a44fd6ce63
parentf800c25b7a762d445ba1439a2428c8362157eba6
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 <axboe@fb.com>
drivers/block/nvme-core.c