diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-04-15 11:37:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-15 15:14:19 -0400 |
commit | 8564ae09e08340a26c5408637cc4b32dba9f1640 (patch) | |
tree | 5f0fecd77549f54cb631647a729b81f70cc55dd9 /drivers/net/ethernet/amd/ariadne.h | |
parent | 54d63f787b652755e66eb4dd8892ee6d3f5197fc (diff) |
qlcnic: Fix MSI-X initialization code
Function qlcnic_setup_tss_rss_intr() might enter endless
loop in case pci_enable_msix() contiguously returns a
positive number of MSI-Xs that could have been allocated.
Besides, the function contains 'err = -EIO;' assignment
that never could be reached. This update fixes the
aforementioned issues.
Cc: Shahed Shaikh <shahed.shaikh@qlogic.com>
Cc: Dept-HSGLinuxNICDev@qlogic.com
Cc: netdev@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/ariadne.h')
0 files changed, 0 insertions, 0 deletions