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
Reported-by: Loïc Yhuel
---
drivers/misc/vmw_vmci/vmci_guest.c | 4
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
Reported-by: Loïc Yhuel
---
drivers/misc/vmw_vmci/vmci_guest.c | 4 ++--
1 file changed, 2
2 matches
Mail list logo