From: Frediano Ziglio Date: Wed, 3 Jun 2015 11:09:14 +0000 (+0100) Subject: drm/qxl: Fix return for qxl_release_alloc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6ecf5c2b571e47b87568446f86b00838fcd0294d;p=linux-beck.git 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 Reviewed-by: Dave Airlie Signed-off-by: Dave Airlie --- 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) {