mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 07:00:11 +01:00
freedreno: zero out unused field
Since realloc() doesn't zero-init. Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
230389a0d7
commit
1cb5fc706c
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ static struct drm_msm_gem_submit_cmd * get_cmd(struct fd_ringbuffer *ring,
|
|||
cmd->submit_idx = bo2idx(ring, target_bo, FD_RELOC_READ);
|
||||
cmd->submit_offset = submit_offset;
|
||||
cmd->size = size;
|
||||
cmd->pad = 0;
|
||||
}
|
||||
|
||||
return cmd;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue