lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 12 Dec 2017 22:48:43 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Michal Hocko <mhocko@...nel.org>
Cc:     Arnd Bergmann <arnd@...db.de>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Dan Williams <dan.j.williams@...el.com>,
        "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

Hi Michal,

On Tue, 12 Dec 2017 08:47:22 +0100 Michal Hocko <mhocko@...nel.org> wrote:
>
> On Mon 11-12-17 17:21:27, 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 <arnd@...db.de>  
> 
> I've tried to do the same but the compilation failed for other
> arches/configs. See http://lkml.kernel.org/r/20171210113715.GE20234@dhcp22.suse.cz

I sent a patch yesterday for that particular powerpc failure ... You
were not CC'd, but I have attached the email.
-- 
Cheers,
Stephen Rothwell

Content of type "message/rfc822" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ