[Intel-gfx] [PATCH] drm/i915: remove the duplicated size check in i915_gem_dmabuf_mmap()
Chris Wilson
chris at chris-wilson.co.uk
Thu May 11 07:10:16 UTC 2017
On Wed, May 10, 2017 at 09:05:37PM -0700, Dongseong Hwang wrote:
> dma_buf_mmap_internal() already checks for overflowing the buffer's size.
> In addition, the check in i915_gem_dmabuf_mmap() is incomplete, which doesn't
> consider a page offset.
Please read Documentation/process/submitting-patches, in particular the
Developer's Certificate of Origin 1.1, and apply your s-o-b.
When resending please wrap the commitlog at 72cols (no more than
75cols).
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list