Hi Arnd,

On Mon, 11 Dec 2017 17:21:27 +0100 Arnd Bergmann <a...@arndb.de> wrote:
>
> The infiniband umem code causes a build failure in some configurations:
> 
> In file included from drivers/infiniband/core/umem_odp.c:41:0:
> include/linux/hugetlb.h: In function 'vma_kernel_pagesize':
> include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete 
> type 'const struct vm_operations_struct'
> 
> Including the header file that defines the structure is sufficient to
> avoid this.
> 
> Fixes: ac9284a6b670 ("mm, hugetlbfs: introduce ->pagesize() to 
> vm_operations_struct")
> Signed-off-by: Arnd Bergmann <a...@arndb.de>

Added to linux-next today.

-- 
Cheers,
Stephen Rothwell

Reply via email to