net/bnxt: initialize table scope parameter
Initialize table scope resource manager parameter. Clear out rm_is_allocated parms before calling as base_index was added and used incorrectly in this instance. Signed-off-by: Farah Smith <farah.smith@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
8cc50a6380
commit
6511faeffc
@ -71,7 +71,7 @@ struct tf_tbl_scope_cb *
|
||||
tbl_scope_cb_find(uint32_t tbl_scope_id)
|
||||
{
|
||||
int i;
|
||||
struct tf_rm_is_allocated_parms parms;
|
||||
struct tf_rm_is_allocated_parms parms = { 0 };
|
||||
int allocated;
|
||||
uint32_t rm_tbl_scope_id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user