mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
radeon: initialize hole variable before calling container_of
Like in a few other places in that radeon_drm_bo.c file. CID 715739. Signed-off-by: Julien Isorce <jisorce@oblong.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
7c50f9903f
commit
ce27b27c38
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ static uint64_t radeon_bomgr_find_va(struct radeon_drm_winsys *rws,
|
|||
static void radeon_bomgr_free_va(struct radeon_drm_winsys *rws,
|
||||
uint64_t va, uint64_t size)
|
||||
{
|
||||
struct radeon_bo_va_hole *hole;
|
||||
struct radeon_bo_va_hole *hole = NULL;
|
||||
|
||||
size = align(size, rws->info.gart_page_size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue