|
@@ -49,7 +49,7 @@ i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw,
|
|
struct i40e_hmc_sd_entry *sd_entry;
|
|
struct i40e_hmc_sd_entry *sd_entry;
|
|
bool dma_mem_alloc_done = false;
|
|
bool dma_mem_alloc_done = false;
|
|
struct i40e_dma_mem mem;
|
|
struct i40e_dma_mem mem;
|
|
- i40e_status ret_code;
|
|
|
|
|
|
+ i40e_status ret_code = I40E_SUCCESS;
|
|
u64 alloc_len;
|
|
u64 alloc_len;
|
|
|
|
|
|
if (NULL == hmc_info->sd_table.sd_entry) {
|
|
if (NULL == hmc_info->sd_table.sd_entry) {
|