mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
drm/radeon/kms: fix warning about cur_placement being uninitialised.
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
115a5c2ba0
commit
4361e52ad0
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ int radeon_gem_busy_ioctl(struct drm_device *dev, void *data,
|
||||||
struct drm_gem_object *gobj;
|
struct drm_gem_object *gobj;
|
||||||
struct radeon_bo *robj;
|
struct radeon_bo *robj;
|
||||||
int r;
|
int r;
|
||||||
uint32_t cur_placement;
|
uint32_t cur_placement = 0;
|
||||||
|
|
||||||
gobj = drm_gem_object_lookup(dev, filp, args->handle);
|
gobj = drm_gem_object_lookup(dev, filp, args->handle);
|
||||||
if (gobj == NULL) {
|
if (gobj == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue