Hi Niklas, [auto build test ERROR on renesas/next] [also build test ERROR on v4.4] [cannot apply to next-20160121] [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/Niklas-S-derlund/dmaengine-rcar-dmac-add-iommu-support-for-slave-transfers/20160121-220503 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git next config: m68k-allyesconfig (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=m68k All errors (new ones prefixed by >>): drivers/dma/sh/rcar-dmac.c: In function '__rcar_dmac_device_config': >> drivers/dma/sh/rcar-dmac.c:1121:3: error: implicit declaration of function 'dma_unmap_page_attrs' [-Werror=implicit-function-declaration] dma_unmap_page_attrs(chan->device->dev, slave->slave_addr, ^ >> drivers/dma/sh/rcar-dmac.c:1132:3: error: implicit declaration of function 'dma_map_page_attrs' [-Werror=implicit-function-declaration] slave->slave_addr = dma_map_page_attrs(chan->device->dev, page, ^ cc1: some warnings being treated as errors vim +/dma_unmap_page_attrs +1121 drivers/dma/sh/rcar-dmac.c 1115 struct rcar_dmac_chan *rchan = to_rcar_dmac_chan(chan); 1116 struct page *page; 1117 size_t offset; 1118 1119 /* unmap old */ 1120 if (slave->slave_addr) { > 1121 dma_unmap_page_attrs(chan->device->dev, slave->slave_addr, 1122 slave->xfer_size, dir, attrs); 1123 slave->slave_addr = 0; 1124 slave->xfer_size = 0; 1125 } 1126 1127 /* map new */ 1128 if (addr) { 1129 /* phys_to_page not available on all platforms */ 1130 page = pfn_to_page(addr >> PAGE_SHIFT); 1131 offset = addr - page_to_phys(page); > 1132 slave->slave_addr = dma_map_page_attrs(chan->device->dev, page, 1133 offset, size, dir, attrs); 1134 1135 if (dma_mapping_error(chan->device->dev, slave->slave_addr)) { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data