diff options
| author | Christoph Hellwig <[email protected]> | 2017-03-03 14:58:06 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-16 08:32:21 +0000 |
| commit | c3423563c68fc454b805b46cb69fd4816db933e2 (patch) | |
| tree | 8f9e88266690a6cfd9b192771bd4c113c8a1baeb /net/unix/garbage.c | |
| parent | ppdev: fix registering same device name (diff) | |
| download | kernel-c3423563c68fc454b805b46cb69fd4816db933e2.tar.gz kernel-c3423563c68fc454b805b46cb69fd4816db933e2.zip | |
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 <[email protected]>
Reported-by: Loïc Yhuel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
