diff options
author | Govindarajulu Varadarajan <[email protected]> | 2019-08-27 14:13:40 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-09-07 15:29:12 -0400 |
commit | 3ec24fb4c035e9cbb2f02a48640a09aa913442a2 (patch) | |
tree | 116c38fcfd70073222d8e9661b5da62e1366d475 /net/switchdev/switchdev.c | |
parent | 90302e95a4e185ee0ef5c2e78cf6112149c74908 (diff) |
scsi: fnic: fix msix interrupt allocation
pci_alloc_irq_vectors() returns number of vectors allocated. Fix the check
for error condition.
Fixes: cca678dfbad49 ("scsi: fnic: switch to pci_alloc_irq_vectors")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Govindarajulu Varadarajan <[email protected]>
Acked-by: Satish Kharat <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions