OSDN Git Service

hw/block/nvme: Verify msix_vector_use() returned value
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 9 Jun 2020 19:03:31 +0000 (21:03 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 17 Jun 2020 12:53:40 +0000 (14:53 +0200)
commitfbf2e5375e33d43c9e1386eed448e1a3c0996e88
tree1471ac244b893db6ad4e516d0b97f02acbd0b669
parent945cb8f4c20e01241ede4ab33593d18812a3c1e4
hw/block/nvme: Verify msix_vector_use() returned value

msix_vector_use() returns -EINVAL on error. Assert it won't.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200609190333.59390-21-its@irrelevant.dk>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c