From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751657AbdLLAzp (ORCPT ); Mon, 11 Dec 2017 19:55:45 -0500 Received: from ozlabs.org ([103.22.144.67]:45987 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbdLLAzo (ORCPT ); Mon, 11 Dec 2017 19:55:44 -0500 Date: Tue, 12 Dec 2017 11:55:42 +1100 From: Stephen Rothwell To: Arnd Bergmann Cc: Andrew Morton , Dan Williams , Michal Hocko , "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct Message-ID: <20171212115542.08a1d217@canb.auug.org.au> In-Reply-To: <20171211162243.233177-1-arnd@arndb.de> References: <20171211162243.233177-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Mon, 11 Dec 2017 17:21:27 +0100 Arnd Bergmann 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 Added to linux-next today. -- Cheers, Stephen Rothwell