aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2017-03-03 14:58:06 +0000
committerGreg Kroah-Hartman <[email protected]>2017-03-16 08:32:21 +0000
commitc3423563c68fc454b805b46cb69fd4816db933e2 (patch)
tree8f9e88266690a6cfd9b192771bd4c113c8a1baeb /drivers/fpga/xilinx-spi.c
parentppdev: fix registering same device name (diff)
downloadkernel-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 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions