diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-06-03 14:09:14 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-06-05 04:00:50 +0300 |
commit | 6ecf5c2b571e47b87568446f86b00838fcd0294d (patch) | |
tree | febde6aa67badef626ef78527b98b794de563a45 /drivers/gpu/drm/qxl | |
parent | c610c7137c02eb9812b4e7871abe5b0642ff58d2 (diff) | |
download | linux-6ecf5c2b571e47b87568446f86b00838fcd0294d.tar.xz |
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.c | 2 |
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) { |