Searched hist:c3423563 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | c3423563 Fri Mar 03 08:58:06 CST 2017 Christoph Hellwig <hch@lst.de> vmw_vmci: handle the return value from pci_alloc_irq_vectors correctly
It returns the number of vectors allocated when successful, so check for a negative error only.
Fixes: 3bb434cd ("vmw_vmci: switch to pci_irq_alloc_vectors") Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Loïc Yhuel <loic.yhuel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> c3423563 Fri Mar 03 08:58:06 CST 2017 Christoph Hellwig <hch@lst.de> vmw_vmci: handle the return value from pci_alloc_irq_vectors correctly It returns the number of vectors allocated when successful, so check for a negative error only. Fixes: 3bb434cd ("vmw_vmci: switch to pci_irq_alloc_vectors") Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Loïc Yhuel <loic.yhuel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|