projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c50f99
)
radeon: initialize hole variable before calling container_of
author
Julien Isorce
<jisorce@oblong.com>
Mon, 27 Feb 2017 13:42:17 +0000
(13:42 +0000)
committer
Julien Isorce
<jisorce@oblong.com>
Mon, 20 Mar 2017 16:47:31 +0000
(16:47 +0000)
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>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index d4f4763c2f306ddff6fd34b157528b842092d723..f4ed3ce632bc8b22a278b60346c9ebeba88133ba 100644
(file)
--- a/
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@
-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);