drm/qxl: Fix return for qxl_release_alloc
authorFrediano Ziglio <fziglio@redhat.com>
Wed, 3 Jun 2015 11:09:14 +0000 (12:09 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Jun 2015 01:00:50 +0000 (11:00 +1000)
This function return handle to allocated release object which is an int.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_release.c

index d9b25684ac989d73341b7cddd70bb181b28eee2b..6fd8e50e3506adc596bdb0031a30c36ddc6e4586 100644 (file)
@@ -122,7 +122,7 @@ static const struct fence_ops qxl_fence_ops = {
        .wait = qxl_fence_wait,
 };
 
-static uint64_t
+static int
 qxl_release_alloc(struct qxl_device *qdev, int type,
                  struct qxl_release **ret)
 {