linux/drivers/net/ethernet/intel
Jean Sacren ce9ccb17ef i40e: fix passing wrong error code to i40e_open()
The commit 6c167f582e ("i40e: Refactor and cleanup i40e_open(),
adding i40e_vsi_open()") introduced a new function i40e_vsi_open()
with the regression by a typo. Due to the commit, the wrong error
code would be passed to i40e_open(). Fix this error in
i40e_vsi_open() by turning the macro into a negative value so that
i40e_open() could return the pertinent error code correctly.

Fixes: 6c167f582e ("i40e: Refactor and cleanup i40e_open(), adding i40e_vsi_open()")
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-05-21 04:22:37 -07:00
..
e1000 net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
e1000e net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
i40e i40e: fix passing wrong error code to i40e_open() 2014-05-21 04:22:37 -07:00
i40evf i40evf: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-05-21 04:11:10 -07:00
igb net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
igbvf net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgb net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgbe net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgbevf net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
e100.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00