Re: [PATCH 1/2] dmaengine: rcar-dmac: add iommu support for slave transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Niklas,

[auto build test ERROR on renesas/next]
[also build test ERROR on v4.4 next-20160108]
[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/20160111-102813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git next
config: xtensa-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=xtensa 

All error/warnings (new ones prefixed by >>):

   drivers/dma/sh/rcar-dmac.c: In function '__rcar_dmac_dma_map':
>> drivers/dma/sh/rcar-dmac.c:1109:9: error: implicit declaration of function 'phys_to_page' [-Werror=implicit-function-declaration]
     struct page *page = phys_to_page(addr);
            ^
>> drivers/dma/sh/rcar-dmac.c:1109:22: warning: initialization makes pointer from integer without a cast
     struct page *page = phys_to_page(addr);
                         ^
   cc1: some warnings being treated as errors

vim +/phys_to_page +1109 drivers/dma/sh/rcar-dmac.c

  1103	}
  1104	
  1105	static dma_addr_t __rcar_dmac_dma_map(struct dma_chan *chan, phys_addr_t addr,
  1106			size_t size, enum dma_data_direction dir)
  1107	{
  1108		struct rcar_dmac_chan *rchan = to_rcar_dmac_chan(chan);
> 1109		struct page *page = phys_to_page(addr);
  1110		size_t offset = addr - page_to_phys(page);
  1111		dma_addr_t map = dma_map_page(chan->device->dev, page, offset, size,
  1112				dir);

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux