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

From: Eric Engestrom
Date: Mon May 23 2016 - 07:01:35 EST


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@xxxxxxxxx>
> ---

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@xxxxxxxxxx>