[Spice-devel] [PATCH 06/11] Fix return for qxl_release_alloc

Dave Airlie airlied at gmail.com
Wed May 27 20:17:13 PDT 2015


On 27 May 2015 at 20:04, Frediano Ziglio <fziglio at redhat.com> wrote:
> This function return handle to allocated release object which is an int.

Reviewed-by: Dave Airlie <airlied at redhat.com>
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  qxl/qxl_release.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qxl/qxl_release.c b/qxl/qxl_release.c
> index d9b2568..6fd8e50 100644
> --- a/qxl/qxl_release.c
> +++ b/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)
>  {
> --
> 2.1.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list