diff options
author | Alexander Gordeev | 2014-04-15 11:37:14 +0200 |
---|---|---|
committer | David S. Miller | 2014-04-15 21:14:19 +0200 |
commit | 8564ae09e08340a26c5408637cc4b32dba9f1640 (patch) | |
tree | 5f0fecd77549f54cb631647a729b81f70cc55dd9 /drivers/net/ethernet/sfc/mcdi.h | |
parent | ip6_gre: don't allow to remove the fb_tunnel_dev (diff) | |
download | kernel-qcow2-linux-8564ae09e08340a26c5408637cc4b32dba9f1640.tar.gz kernel-qcow2-linux-8564ae09e08340a26c5408637cc4b32dba9f1640.tar.xz kernel-qcow2-linux-8564ae09e08340a26c5408637cc4b32dba9f1640.zip |
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/sfc/mcdi.h')
0 files changed, 0 insertions, 0 deletions