lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606080659.2i234CnZ%fengguang.wu@intel.com>
Date:	Wed, 8 Jun 2016 06:29:38 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Vignesh R <vigneshr@...com>
Cc:	kbuild-all@...org, Mark Brown <broonie@...nel.org>,
	linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-omap@...r.kernel.org, Vignesh R <vigneshr@...com>
Subject: Re: [PATCH v3 1/2] spi: Add DMA support for spi_flash_read()

Hi,

[auto build test ERROR on spi/for-next]
[also build test ERROR on v4.7-rc2 next-20160607]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Vignesh-R/spi-Add-DMA-support-for-ti-qspi/20160607-162134
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi for-next
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
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=m32r 

All errors (new ones prefixed by >>):

   drivers/spi/spi.c: In function 'spi_flash_read':
>> drivers/spi/spi.c:2758:3: error: implicit declaration of function 'spi_map_buf' [-Werror=implicit-function-declaration]
      ret = spi_map_buf(master, rx_dev, &msg->rx_sg,
      ^
>> drivers/spi/spi.c:2766:3: error: implicit declaration of function 'spi_unmap_buf' [-Werror=implicit-function-declaration]
      spi_unmap_buf(master, rx_dev, &msg->rx_sg,
      ^
   cc1: some warnings being treated as errors

vim +/spi_map_buf +2758 drivers/spi/spi.c

  2752			}
  2753		}
  2754	
  2755		mutex_lock(&master->bus_lock_mutex);
  2756		if (master->dma_rx) {
  2757			rx_dev = master->dma_rx->device->dev;
> 2758			ret = spi_map_buf(master, rx_dev, &msg->rx_sg,
  2759					  msg->buf, msg->len,
  2760					  DMA_FROM_DEVICE);
  2761			if (!ret)
  2762				msg->cur_msg_mapped = true;
  2763		}
  2764		ret = master->spi_flash_read(spi, msg);
  2765		if (msg->cur_msg_mapped)
> 2766			spi_unmap_buf(master, rx_dev, &msg->rx_sg,
  2767				      DMA_FROM_DEVICE);
  2768		mutex_unlock(&master->bus_lock_mutex);
  2769	

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

Download attachment ".config.gz" of type "application/octet-stream" (35831 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ