Commit 4361e52a authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/radeon/kms: fix warning about cur_placement being uninitialised.


Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 115a5c2b
......@@ -268,7 +268,7 @@ int radeon_gem_busy_ioctl(struct drm_device *dev, void *data,
struct drm_gem_object *gobj;
struct radeon_bo *robj;
int r;
uint32_t cur_placement;
uint32_t cur_placement = 0;
gobj = drm_gem_object_lookup(dev, filp, args->handle);
if (gobj == NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment