[PATCH] dma-buf: use vma_pages().

Eric Engestrom eric.engestrom at imgtec.com
Mon May 23 11:01:28 UTC 2016


On Sat, May 21, 2016 at 06:53:32PM +0530, Muhammad Falak R Wani wrote:
> Replace explicit computation of vma page count by a call to
> vma_pages()
> 
> Signed-off-by: Muhammad Falak R Wani <falakreyaz at gmail.com>
> ---

Good change, but this function is defined in mm.h
Please add:

    #include <linux/mm.h>

With that fixed:
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>


More information about the dri-devel mailing list