Skip to content

Commit

Permalink
drm/radeon/kms: fix warning about cur_placement being uninitialised.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Dec 10, 2009
1 parent 115a5c2 commit 4361e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4361e52

Please sign in to comment.