Re: [PATCH 2/2] spi: imx: dynamic burst length adjust for DMA mode

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

 



Hi Jiada,

[auto build test ERROR on next-20170207]

url:    https://github.com/0day-ci/linux/commits/Jiada-Wang/improve-imx-spi-performance/20170208-142524
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/spi/spi-imx.c: In function 'spi_imx_dma_transfer':
>> drivers/spi/spi-imx.c:1298:3: error: implicit declaration of function 'dmac_flush_range' [-Werror=implicit-function-declaration]
      dmac_flush_range(transfer->rx_buf,
      ^~~~~~~~~~~~~~~~
>> drivers/spi/spi-imx.c:1300:3: error: implicit declaration of function 'outer_flush_range' [-Werror=implicit-function-declaration]
      outer_flush_range(virt_to_phys(transfer->rx_buf),
      ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/dmac_flush_range +1298 drivers/spi/spi-imx.c

  1292	
  1293			if (spi_imx->bpw_w == 1)
  1294				spi_imx_u32_swap_u8(transfer, (u8 *)transfer->rx_buf);
  1295			if (spi_imx->bpw_w == 2)
  1296				spi_imx_u32_swap_u16(transfer,
  1297						(u16 *)transfer->rx_buf);
> 1298			dmac_flush_range(transfer->rx_buf,
  1299					transfer->rx_buf + transfer->len);
> 1300			outer_flush_range(virt_to_phys(transfer->rx_buf),
  1301					virt_to_phys(transfer->rx_buf) +
  1302					transfer->len);
  1303		}

---
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 Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux