Hi,

>       vbuf = kmem_cache_alloc(vgdev->vbufs, GFP_KERNEL);
> -     if (IS_ERR(vbuf))
> +     if (!vbuf)
>               return ERR_CAST(vbuf);

Well, ERR_CAST(vbuf) isn't correct either ...

correct fix has been committed to drm-misc-next today and should show up
in linux-next shortly.

cheers,
  Gerd

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to