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>] [day] [month] [year] [list]
Message-ID: <201602281928.cqonbuYa%fengguang.wu@intel.com>
Date:	Sun, 28 Feb 2016 19:29:30 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Dan Williams <dan.j.williams@...el.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Guenter Roeck <linux@...ck-us.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linux Memory Management List <linux-mm@...ck.org>
Subject: drivers/nvdimm/pmem.c:367:3: error: implicit declaration of function
 '__phys_to_pfn'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   12b9fa6a97b3150477ab182e321be512b59fa899
commit: d2c0f041e1bb1260629ecea2161adb9778945aa3 libnvdimm, pfn, pmem: allocate memmap array in persistent memory
date:   6 weeks ago
config: ia64-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d2c0f041e1bb1260629ecea2161adb9778945aa3
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/nvdimm/pmem.c: In function 'nvdimm_namespace_attach_pfn':
>> drivers/nvdimm/pmem.c:367:3: error: implicit declaration of function '__phys_to_pfn' [-Werror=implicit-function-declaration]
      .base_pfn = __phys_to_pfn(nsio->res.start),
      ^
   cc1: some warnings being treated as errors

vim +/__phys_to_pfn +367 drivers/nvdimm/pmem.c

   361		struct vmem_altmap *altmap;
   362		struct nd_pfn_sb *pfn_sb;
   363		struct pmem_device *pmem;
   364		phys_addr_t offset;
   365		int rc;
   366		struct vmem_altmap __altmap = {
 > 367			.base_pfn = __phys_to_pfn(nsio->res.start),
   368			.reserve = __phys_to_pfn(SZ_8K),
   369		};
   370	

---
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/octet-stream" (42120 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ