diff options
author | Govindarajulu Varadarajan <gvaradar@cisco.com> | 2019-08-27 14:13:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:46:46 +0100 |
commit | caa4dd3ae27bc135274c39ea5de64e521875e848 (patch) | |
tree | e4b26002c4c7c66c054cc8623ffbc10e5ceb0f6b /fs | |
parent | 8b71eb46f20c8d6f235d71ca21db58c4ed5cf503 (diff) |
scsi: fnic: fix msix interrupt allocation
[ Upstream commit 3ec24fb4c035e9cbb2f02a48640a09aa913442a2 ]
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/20190827211340.1095-1-gvaradar@cisco.com
Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Acked-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions