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

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, ...@@ -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) {
......
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