1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/i40e
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
..
Makefile i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
i40e.h i40e: add required include 2014-05-21 02:03:18 -07:00
i40e_adminq.c i40e/i40evf: add tracking to NVM busy state 2014-04-21 21:26:52 -07:00
i40e_adminq.h i40e/i40evf: add tracking to NVM busy state 2014-04-21 21:26:52 -07:00
i40e_adminq_cmd.h i40e/i40evf: update AdminQ API 2014-04-22 03:10:50 -07:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e/i40evf: Retrieve and store missing link config information 2014-04-28 05:58:57 -07:00
i40e_dcb.c i40e: Fix static checker warning 2014-03-06 18:41:50 -08:00
i40e_dcb.h i40e: implement DCB support infastructure 2014-01-17 19:13:04 -08:00
i40e_dcb_nl.c i40e: add DCB and DCBNL support 2014-01-17 19:13:04 -08:00
i40e_debugfs.c i40e: Do not expose fd-sb commands from debugfs 2014-04-28 05:43:44 -07:00
i40e_diag.c i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: remove Tx work for ptp 2014-05-21 03:45:22 -07:00
i40e_hmc.c i40e: use assignment instead of memcpy 2014-01-10 16:30:31 -08:00
i40e_hmc.h i40e: Cleanup Doxygen warnings 2014-01-10 16:30:33 -08:00
i40e_lan_hmc.c i40e/i40evf: unhide and enable to one prefena field 2014-04-21 20:35:42 -07:00
i40e_lan_hmc.h i40e/i40evf: unhide and enable to one prefena field 2014-04-21 20:35:42 -07:00
i40e_main.c i40e: fix passing wrong error code to i40e_open() 2014-05-21 04:22:37 -07:00
i40e_nvm.c e1000e/igb/ixgbe/i40e: fix message terminations 2014-04-18 18:41:24 -07:00
i40e_osdep.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_prototype.h i40e: Update function formal parameters 2014-04-28 05:51:34 -07:00
i40e_ptp.c i40e: remove Tx work for ptp 2014-05-21 03:45:22 -07:00
i40e_register.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e: add required include 2014-05-21 02:03:18 -07:00
i40e_txrx.h i40e: enable PTP 2014-01-10 16:33:39 -08:00
i40e_type.h i40e/i40evf: Retrieve and store missing link config information 2014-04-28 05:58:57 -07:00
i40e_virtchnl.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_virtchnl_pf.c i40e: Don't disable SR-IOV when VFs are assigned 2014-05-21 03:36:56 -07:00
i40e_virtchnl_pf.h i40e: Enable VF Tx bandwidth setting 2014-04-21 20:54:06 -07:00