diff options
Diffstat (limited to 'radeon')
-rw-r--r-- | radeon/radeon_bo_gem.c | 2 | ||||
-rw-r--r-- | radeon/radeon_cs_gem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/radeon/radeon_bo_gem.c b/radeon/radeon_bo_gem.c index 081ccb9f..719fba7c 100644 --- a/radeon/radeon_bo_gem.c +++ b/radeon/radeon_bo_gem.c @@ -252,7 +252,7 @@ static int bo_set_tiling(struct radeon_bo_int *boi, uint32_t tiling_flags, static int bo_get_tiling(struct radeon_bo_int *boi, uint32_t *tiling_flags, uint32_t *pitch) { - struct drm_radeon_gem_set_tiling args; + struct drm_radeon_gem_set_tiling args = {}; int r; args.handle = boi->handle; diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 81bd3939..9834bcf1 100644 --- a/radeon/radeon_cs_gem.c +++ b/radeon/radeon_cs_gem.c @@ -517,7 +517,7 @@ static struct radeon_cs_funcs radeon_cs_gem_funcs = { static int radeon_get_device_id(int fd, uint32_t *device_id) { - struct drm_radeon_info info; + struct drm_radeon_info info = {}; int r; *device_id = 0; |