Skip to content

v3dv: Initialize time before usage by free_stale_bos.

Vinson Lee requested to merge vlee/mesa:fix-cid-1468102 into master

Fix defect reported by Coverity Scan.

Uninitialized scalar variable (UNINIT) uninit_use_in_call: Using uninitialized value time.tv_sec when calling free_stale_bos.

Fixes: f78c99f3 ("v3dv/bo: add a maximum size for the bo_cache and a envvar to configure it") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @apinheiro

Merge request reports