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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 7 Dec 2015 23:25:21 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Cyrille Pitchen <cyrille.pitchen@...el.com>
Cc:	kbuild-all@...org, computersforpeace@...il.com,
	linux-mtd@...ts.infradead.org, nicolas.ferre@...el.com,
	marex@...x.de, vigneshr@...com, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
	robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
	ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
	Cyrille Pitchen <cyrille.pitchen@...el.com>
Subject: Re: [PATCH linux-next 5/5] mtd: atmel-quadspi: add driver for Atmel
 QSPI controller

Hi Cyrille,

[auto build test ERROR on next-20151207]

url:    https://github.com/0day-ci/linux/commits/Cyrille-Pitchen/mtd-spi-nor-add-driver-for-Atmel-QSPI-controller/20151207-221330
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/mtd/spi-nor/atmel-quadspi.c: In function 'atmel_qspi_run_transfer':
>> drivers/mtd/spi-nor/atmel-quadspi.c:296:3: error: implicit declaration of function '_memcpy_toio' [-Werror=implicit-function-declaration]
      _memcpy_toio(ahb_mem, cmd->tx_buf, cmd->buf_len);
      ^
>> drivers/mtd/spi-nor/atmel-quadspi.c:298:3: error: implicit declaration of function '_memcpy_fromio' [-Werror=implicit-function-declaration]
      _memcpy_fromio(cmd->rx_buf, ahb_mem, cmd->buf_len);
      ^
   cc1: some warnings being treated as errors

coccinelle warnings: (new ones prefixed by >>)

>> drivers/mtd/spi-nor/atmel-quadspi.c:682:6-17: Move constant to right.
--
>> drivers/mtd/spi-nor/atmel-quadspi.c:758:5-11: inconsistent IS_ERR and PTR_ERR on line 760.

Please review and possibly fold the followup patch.

vim +/_memcpy_toio +296 drivers/mtd/spi-nor/atmel-quadspi.c

   290	
   291		/* Then fallback to a PIO transfer (memcpy() DOES NOT work!) */
   292		ahb_mem = aq->mem;
   293		if (cmd->enable.bits.address)
   294			ahb_mem += cmd->address;
   295		if (cmd->tx_buf)
 > 296			_memcpy_toio(ahb_mem, cmd->tx_buf, cmd->buf_len);
   297		else
 > 298			_memcpy_fromio(cmd->rx_buf, ahb_mem, cmd->buf_len);
   299	
   300		return 0;
   301	}

---
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" (53054 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ