summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-06-03 12:09:14 +0100
committerDave Airlie <airlied@redhat.com>2015-06-05 11:00:50 +1000
commit6ecf5c2b571e47b87568446f86b00838fcd0294d (patch)
treefebde6aa67badef626ef78527b98b794de563a45 /drivers/gpu/drm/qxl
parentc610c7137c02eb9812b4e7871abe5b0642ff58d2 (diff)
downloadblackbird-op-linux-6ecf5c2b571e47b87568446f86b00838fcd0294d.tar.gz
blackbird-op-linux-6ecf5c2b571e47b87568446f86b00838fcd0294d.zip
drm/qxl: Fix return for qxl_release_alloc
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>
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r--drivers/gpu/drm/qxl/qxl_release.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c
index d9b25684ac98..6fd8e50e3506 100644
--- a/drivers/gpu/drm/qxl/qxl_release.c
+++ b/drivers/gpu/drm/qxl/qxl_release.c
@@ -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)
{
OpenPOWER on IntegriCloud