tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/resource head: 7d7511de29c35b4aa1807afeb99629d3565e6ca8 commit: 35bdded2ede3dcc7dffc0ce4f04a835bccc6ce0f [6/10] powerpc: Implement ioremap_wt() for PPC32 config: powerpc-ppc40x_defconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 35bdded2ede3dcc7dffc0ce4f04a835bccc6ce0f # save the attached .config to linux build tree make.cross ARCH=powerpc All error/warnings (new ones prefixed by >>): kernel/memremap.c: In function 'memremap': >> kernel/memremap.c:116:10: error: implicit declaration of function 'ioremap_wt' [-Werror=implicit-function-declaration] addr = ioremap_wt(offset, size); ^~~~~~~~~~ >> kernel/memremap.c:116:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] addr = ioremap_wt(offset, size); ^ cc1: some warnings being treated as errors vim +/ioremap_wt +116 kernel/memremap.c 92281dee8 Dan Williams 2015-08-10 110 WARN_ONCE(1, "memremap attempted on ram %pa size: %#lx\n", 92281dee8 Dan Williams 2015-08-10 111 &offset, (unsigned long) size); 92281dee8 Dan Williams 2015-08-10 112 return NULL; 92281dee8 Dan Williams 2015-08-10 113 } 92281dee8 Dan Williams 2015-08-10 114 cf61e2a14 Brian Starkey 2016-03-22 115 if (!addr && (flags & MEMREMAP_WT)) 92281dee8 Dan Williams 2015-08-10 @116 addr = ioremap_wt(offset, size); c907e0eb4 Brian Starkey 2016-03-22 117 c907e0eb4 Brian Starkey 2016-03-22 118 if (!addr && (flags & MEMREMAP_WC)) c907e0eb4 Brian Starkey 2016-03-22 119 addr = ioremap_wc(offset, size); :::::: The code at line 116 was first introduced by commit :::::: 92281dee825f6d2eb07c441437e4196a44b0861c arch: introduce memremap() :::::: TO: Dan Williams <dan.j.williams@xxxxxxxxx> :::::: CC: Dan Williams <dan.j.williams@xxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip