2017-01-13 Laurent Pinchart <laurent.pinch...@ideasonboard.com>:

> Hi Gustavo,
> 
> Thank you for the patch.
> 
> On Friday 13 Jan 2017 12:22:09 Gustavo Padovan wrote:
> > From: Gustavo Padovan <gustavo.pado...@collabora.com>
> > 
> > Currently if the userspace declares a int variable to store the out_fence
> > fd and pass it to OUT_FENCE_PTR the kernel will overwrite the 32 bits
> > above the int variable on 64 bits systems.
> > 
> > Fix this by making the internal storage of out_fence in the kernel a s32
> > pointer.
> > 
> > Reported-by: Chad Versace <chadvers...@chromium.org>
> > Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.com>
> > Cc: Daniel Vetter <dan...@ffwll.ch>
> > Cc: Rafael Antognolli <rafael.antogno...@intel.com>
> > Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
> 
> Acked-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
> 
> > Cc: sta...@vger.kernel.org
> 
> I don't think this is needed, given that the code was merged in v4.10-rc1, 
> and 
> this patch should be merged as a v4.10-rc fix.

Hmm, yeah. I got confused.

Gustavo

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to