ice: Pass the return value of ice_init_def_sw_recp()
Added check of return value for ice_init_def_sw_recp(). Now we know if memory was correctly allocated. Signed-off-by: Jaroslaw Ilgiewicz <jaroslaw.ilgiewicz@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
7afdbc903a
commit
5fb597d7c8
|
@ -405,9 +405,7 @@ static enum ice_status ice_init_fltr_mgmt_struct(struct ice_hw *hw)
|
|||
|
||||
INIT_LIST_HEAD(&sw->vsi_list_map_head);
|
||||
|
||||
ice_init_def_sw_recp(hw);
|
||||
|
||||
return 0;
|
||||
return ice_init_def_sw_recp(hw);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue