drm/bo: set the req pointer for each buffer to validate
authorDave Airlie <airlied@redhat.com>
Thu, 26 Jul 2007 05:26:36 +0000 (15:26 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 26 Jul 2007 05:26:36 +0000 (15:26 +1000)
linux-core/drm_bo.c

index b47b657..467d03f 100644 (file)
@@ -1729,7 +1729,7 @@ int drm_bo_op_ioctl(struct drm_device *dev, void *data, struct drm_file *file_pr
                        next = arg->next;
                        continue;
                }
-
+               req = &arg->d.req;
                ret = 0;
                switch (req->op) {
                case drm_bo_validate: