Skip to content

Commit

Permalink
drm/qxl: Fix return for qxl_release_alloc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frediano Ziglio authored and Dave Airlie committed Jun 5, 2015
1 parent c610c71 commit 6ecf5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/qxl/qxl_release.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6ecf5c2

Please sign in to comment.