Skip to content

Commit

Permalink
zero out 'data' in mlxcx_explore_pcam()
Browse files Browse the repository at this point in the history
  • Loading branch information
danmcd committed Oct 27, 2023
1 parent 95da90a commit 9d2d196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/io/mlxcx/mlxcx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2435,7 +2435,7 @@ mlxcx_setup_eqs(mlxcx_t *mlxp)
static void
mlxcx_explore_pcam(mlxcx_t *mlxp, mlxcx_caps_t *c)
{
mlxcx_register_data_t data;
mlxcx_register_data_t data = { {0} };
mlxcx_reg_pcam_t *pcam = &data.mlrd_pcam;

ASSERT(c->mlc_pcam);
Expand Down

0 comments on commit 9d2d196

Please sign in to comment.