i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq
Subsystems (2)
PATCH 1/1 i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq
When introducing the functions to read the NVM through the AdminQ, we did not correctly mark the wb_desc.
Fixes 7073f46e443e ("i40e: Add AQ commands for NVM Update for X722", 2015-06-05)
Signed-off-by Jacob Keller <[email protected]>
--- drivers/net/ethernet/intel/i40e/i40e_nvm.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/i40e/i40e_nvm.c +1 -0
@@ -247,6 +247,7 @@ static i40e_status i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer,struct i40e_asq_cmd_details cmd_details;memset (&cmd_details,0 ,sizeof (cmd_details)); + cmd_details.wb_desc = &hw->nvm_wb_desc;/* Here we are checking the SR limit only for the flat memory model. * We cannot do it for the module-based model, as we did not acquire
Signature · 1 line
2.14.1.436.g33e61a4f0239
Bowers
PATCH 1/1 i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq
Quoted 11 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Jacob Keller
Sent: Friday, September 1, 2017 1:43 PM
To: Intel Wired LAN <[email protected]>
Subject: [Intel-wired-lan] [PATCH] i40e: pointwb_descat thenvm_wb_descduringi40e_read_nvm_aqWhen introducing the functions to read the NVM through the AdminQ, we did not correctly mark the
wb_desc.
Quoted 6 lines
Fixes 7073f46e443e ("i40e: Add AQ commands for NVM Update for X722",2015-06-05)
Signed-off-by Jacob Keller <[email protected]>--- drivers/net/ethernet/intel/i40e/i40e_nvm.c | 1 + 1 file changed, 1 insertion(+)
Tested-by Andrew Bowers <[email protected]>