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]
Message-ID: <201705231602.FmqzOPRg%fengguang.wu@intel.com>
Date:   Tue, 23 May 2017 16:36:43 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Jérôme Glisse <jglisse@...hat.com>
Cc:     kbuild-all@...org, akpm@...ux-foundation.org,
        linux-kernel@...r.kernel.org, linux-mm@...ck.org,
        John Hubbard <jhubbard@...dia.com>,
        David Nellans <dnellans@...dia.com>,
        Jérôme Glisse <jglisse@...hat.com>,
        Dan Williams <dan.j.williams@...el.com>,
        Ross Zwisler <ross.zwisler@...ux.intel.com>
Subject: Re: [HMM 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for
 unaddressable memory v2

Hi Jérôme,

[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170523]
[cannot apply to v4.12-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/J-r-me-Glisse/HMM-Heterogeneous-Memory-Management-v22/20170523-153623
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-acpi-redef (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from include/linux/suspend.h:8:0,
                    from arch/x86/kernel/asm-offsets.c:12:
   include/linux/mm.h: In function 'is_device_private_page':
>> include/linux/mm.h:796:15: error: dereferencing pointer to incomplete type 'struct dev_pagemap'
      (page->pgmap->type == MEMORY_DEVICE_PRIVATE));
                  ^~
>> include/linux/mm.h:796:25: error: 'MEMORY_DEVICE_PRIVATE' undeclared (first use in this function)
      (page->pgmap->type == MEMORY_DEVICE_PRIVATE));
                            ^~~~~~~~~~~~~~~~~~~~~
   include/linux/mm.h:796:25: note: each undeclared identifier is reported only once for each function it appears in
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +796 include/linux/mm.h

   790	}
   791	
   792	static inline bool is_device_private_page(const struct page *page)
   793	{
   794		/* See MEMORY_DEVICE_PRIVATE in include/linux/memory_hotplug.h */
   795		return ((page_zonenum(page) == ZONE_DEVICE) &&
 > 796			(page->pgmap->type == MEMORY_DEVICE_PRIVATE));
   797	}
   798	#else
   799	static inline bool is_zone_device_page(const struct page *page)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (31755 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ