[PATCH 09/14] powerpc/mm: Drop WIMG in favour of new constants

kbuild test robot lkp at intel.com
Tue Mar 8 04:29:55 AEDT 2016


Hi Aneesh,

[auto build test ERROR on powerpc/next]
[also build test ERROR on next-20160307]
[cannot apply to v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/powerpc-mm-Use-big-endian-page-table-for-book3s-64/20160307-232212
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (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
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   arch/powerpc/sysdev/axonram.c: In function 'axon_ram_probe':
>> arch/powerpc/sysdev/axonram.c:208:31: error: '_PAGE_NO_CACHE' undeclared (first use in this function)
       bank->ph_addr, bank->size, _PAGE_NO_CACHE);
                                  ^
   arch/powerpc/sysdev/axonram.c:208:31: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/pcmcia/electra_cf.c: In function 'electra_cf_probe':
>> drivers/pcmcia/electra_cf.c:231:3: error: '_PAGE_NO_CACHE' undeclared (first use in this function)
      _PAGE_NO_CACHE | _PAGE_GUARDED) == NULL)) {
      ^
   drivers/pcmcia/electra_cf.c:231:3: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/pcmcia/electra_cf.c:231:20: error: '_PAGE_GUARDED' undeclared (first use in this function)
      _PAGE_NO_CACHE | _PAGE_GUARDED) == NULL)) {
                       ^

vim +/_PAGE_NO_CACHE +208 arch/powerpc/sysdev/axonram.c

dbdf04c4 Maxim Shchetynin 2007-07-20  202  
dbdf04c4 Maxim Shchetynin 2007-07-20  203  	dev_info(&device->dev, "Register DDR2 memory device %s%d with %luMB\n",
dbdf04c4 Maxim Shchetynin 2007-07-20  204  			AXON_RAM_DEVICE_NAME, axon_ram_bank_id, bank->size >> 20);
dbdf04c4 Maxim Shchetynin 2007-07-20  205  
dbdf04c4 Maxim Shchetynin 2007-07-20  206  	bank->ph_addr = resource.start;
40f1ce7f Anton Blanchard  2011-05-08  207  	bank->io_addr = (unsigned long) ioremap_prot(
dbdf04c4 Maxim Shchetynin 2007-07-20 @208  			bank->ph_addr, bank->size, _PAGE_NO_CACHE);
dbdf04c4 Maxim Shchetynin 2007-07-20  209  	if (bank->io_addr == 0) {
dbdf04c4 Maxim Shchetynin 2007-07-20  210  		dev_err(&device->dev, "ioremap() failed\n");
dbdf04c4 Maxim Shchetynin 2007-07-20  211  		rc = -EFAULT;

:::::: The code at line 208 was first introduced by commit
:::::: dbdf04c40161f81d74e27f04e201acb3a5dfad69 [CELL] driver for DDR2 memory on AXON

:::::: TO: Maxim Shchetynin <maxim at de.ibm.com>
:::::: CC: Arnd Bergmann <arnd at klappe.arndb.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 21917 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160308/588e7986/attachment-0001.obj>


More information about the Linuxppc-dev mailing list