Skip to content

Commit 3c8f3e9

Browse files
jacob-kellerJeff Kirsher
authored andcommitted
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: 7073f46 ("i40e: Add AQ commands for NVM Update for X722", 2015-06-05) Signed-off-by: Jacob Keller <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 09f79fd commit 3c8f3e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/intel/i40e/i40e_nvm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ static i40e_status i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer,
230230
struct i40e_asq_cmd_details cmd_details;
231231

232232
memset(&cmd_details, 0, sizeof(cmd_details));
233+
cmd_details.wb_desc = &hw->nvm_wb_desc;
233234

234235
/* Here we are checking the SR limit only for the flat memory model.
235236
* We cannot do it for the module-based model, as we did not acquire

0 commit comments

Comments
 (0)