Messages in this thread | | | Date | Tue, 20 Dec 2016 06:43:19 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH] mfd: mc13xxx-spi: make SPI buffers DMA-safe |
| |
Hi Marcus,
[auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.9 next-20161219] [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/Marcus-Folkesson/mfd-mc13xxx-spi-make-SPI-buffers-DMA-safe/20161209-212034 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: s390-allmodconfig (attached as .config) compiler: s390x-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 # save the attached .config to linux build tree make.cross ARCH=s390
All errors (new ones prefixed by >>):
drivers/mfd/mc13xxx-spi.c: In function 'mc13xxx_spi_read': >> drivers/mfd/mc13xxx-spi.c:71:20: error: 'struct mc13xxx' has no member named 'wbuf' .tx_buf = mc13xxx->wbuf, ^~ >> drivers/mfd/mc13xxx-spi.c:72:20: error: 'struct mc13xxx' has no member named 'rbuf' .rx_buf = mc13xxx->rbuf, ^~ drivers/mfd/mc13xxx-spi.c:82:9: error: 'struct mc13xxx' has no member named 'wbuf' mc13xxx->wbuf[0] = *(unsigned char *)reg; ^~ drivers/mfd/mc13xxx-spi.c:87:20: error: 'struct mc13xxx' has no member named 'rbuf' memcpy(p, &mc13xxx->rbuf[1], 3); ^~
vim +71 drivers/mfd/mc13xxx-spi.c
65 { 66 unsigned char *p = val; 67 struct device *dev = context; 68 struct spi_device *spi = to_spi_device(dev); 69 struct mc13xxx *mc13xxx = dev_get_drvdata(dev); 70 struct spi_transfer t = { > 71 .tx_buf = mc13xxx->wbuf, > 72 .rx_buf = mc13xxx->rbuf, 73 .len = 4, 74 }; 75
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |