[renesas-drivers:topic/dma-attr-force-contiguous-v4 53/53] drivers/tty/serial/sh-sci.c:1346:6: error: implicit declaration of function 'dma_to_phys'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/dma-attr-force-contiguous-v4
head:   eed2b654e58fdefff043be4464cc3963725e6415
commit: eed2b654e58fdefff043be4464cc3963725e6415 [53/53] [TEST] DMA_ATTR_FORCE_CONTIGUOUS test code
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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 eed2b654e58fdefff043be4464cc3963725e6415
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   drivers/tty/serial/sh-sci.c: In function '__test_dma_attr_force_contiguous':
>> drivers/tty/serial/sh-sci.c:1346:6: error: implicit declaration of function 'dma_to_phys' [-Werror=implicit-function-declaration]
       : dma_to_phys(dev, iova);
         ^~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/dma_to_phys +1346 drivers/tty/serial/sh-sci.c

  1340			goto fail;
  1341		}
  1342	
  1343		virt = virt_base;
  1344		iova = iova_base;
  1345		phys = domain ? iommu_iova_to_phys(domain, iova)
> 1346				: dma_to_phys(dev, iova);
  1347		pr_info("[0] virt 0x%p phys %pa iova %pad\n", virt, &phys, &iova);
  1348		for (i = 0; i < pages; i++) {
  1349			phys_addr_t p = domain ? iommu_iova_to_phys(domain, iova)

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux