linux/drivers/net/ethernet/intel/i40e
Jacob Keller 7be147dc14 i40e: initialize params before notifying of l2_param_changes
Probably due to some mis-merging fix a bug associated with commits
d7ce6422d6 ("i40e: don't check params until after checking for client
instance", 2017-02-09) and 3140aa9a78c9 ("i40e: KISS the client
interface", 2017-03-14)

The first commit tried to move the initialization of the params
structure so that we didn't bother doing this if we didn't have a client
interface. You can already see that it looks fishy because of the
indentation. The second commit refactors a bunch of the interface, and
incorrectly drops the params initialization.

I believe what occurred is that internally the two patches were
re-ordered, and the merge conflicts as a result were performed
incorrectly.

Fix the use of an uninitialized variable by correctly initializing the
params variable via i40e_client_get_params().

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-03-27 16:47:44 -07:00
..
i40e_adminq_cmd.h i40e: fix up recent proxy and wol bits for X722_SUPPORT 2017-03-14 17:52:32 -07:00
i40e_adminq.c i40e: Implementation of ERROR state for NVM update state machine 2016-10-31 14:26:40 -07:00
i40e_adminq.h
i40e_alloc.h
i40e_client.c i40e: initialize params before notifying of l2_param_changes 2017-03-27 16:47:44 -07:00
i40e_client.h i40e: KISS the client interface 2017-03-15 01:57:08 -07:00
i40e_common.c i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_dcb_nl.c
i40e_dcb.c
i40e_dcb.h
i40e_debugfs.c i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_devids.h i40e: Add support for 25G devices 2016-12-06 20:59:43 -08:00
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_fcoe.c i40e: store MAC/VLAN filters in a hash with the MAC Address as key 2016-10-31 14:26:40 -07:00
i40e_fcoe.h
i40e_hmc.c i40e: fix an uninitialized variable bug 2016-05-14 00:21:51 -07:00
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: Drop FCoE code that always evaluates to false or 0 2017-03-27 16:47:44 -07:00
i40e_nvm.c i40e: Acquire NVM lock before reads on all devices 2017-03-14 17:52:32 -07:00
i40e_osdep.h i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_prototype.h i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_ptp.c i40e: don't warn every time we clear an Rx timestamp register 2017-02-11 20:39:01 -08:00
i40e_register.h
i40e_status.h
i40e_txrx.c i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_txrx.h i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_type.h i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00
i40e_virtchnl_pf.c i40e: Fixed race conditions in VF reset 2017-03-27 16:45:14 -07:00
i40e_virtchnl_pf.h i40e: Drop FCoE code that always evaluates to false or 0 2017-03-27 16:47:44 -07:00
i40e_virtchnl.h i40e: group base mode VF offload flags 2016-10-28 23:28:39 -07:00
i40e.h i40e: Drop FCoE code that always evaluates to false or 0 2017-03-27 16:47:44 -07:00
Makefile i40e: Drop FCoE code from core driver files 2017-03-27 16:47:43 -07:00