]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix to fail probe if MSI-X enable fails for a VF
authorSomnath Kotur <somnath.kotur@emulex.com>
Thu, 2 May 2013 03:37:08 +0000 (03:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 May 2013 20:43:34 +0000 (16:43 -0400)
commite1bc21a1c212a97de25cd05d5b258ad1184dec85
tree814b14a06137f9640db7d1798f06ec887d6c851c
parent086c3f385e8a1c25a50079fc8511151333e63987
be2net: Fix to fail probe if MSI-X enable fails for a VF

As per SPEC, INTx mode is not supported on VFs. So if enable_msix fails,
then just fail probe. Also bail out of be_open if irq_register fails.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c