From: Alexander Gordeev Date: Tue, 15 Apr 2014 09:37:14 +0000 (+0200) Subject: qlcnic: Fix MSI-X initialization code X-Git-Tag: omap-for-v3.16/pm-signed~106^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8564ae09e08340a26c5408637cc4b32dba9f1640;p=pandora-kernel.git 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 Cc: Dept-HSGLinuxNICDev@qlogic.com Cc: netdev@vger.kernel.org Cc: linux-pci@vger.kernel.org Signed-off-by: Alexander Gordeev Acked-by: Shahed Shaikh Signed-off-by: David S. Miller --- Reading git-diff-tree failed