提交 4361e52a 编写于 作者: D Dave Airlie

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

Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册