From: kbuild test robot <lkp@intel.com>
To: Purna Chandra Mandal <purna.mandal@microchip.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
linux-spi@vger.kernel.org,
Purna Chandra Mandal <purna.mandal@microchip.com>,
Mark Brown <broonie@kernel.org>,
Joshua Henderson <digitalpeer@digitalpeer.com>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Subject: Re: [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver
Date: Sat, 5 Mar 2016 14:36:29 +0800 [thread overview]
Message-ID: <201603051419.aiqCMzqq%fengguang.wu@intel.com> (raw)
In-Reply-To: <1457099082-12587-2-git-send-email-purna.mandal@microchip.com>
[-- Attachment #1: Type: text/plain, Size: 2696 bytes --]
Hi Purna,
[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.5-rc6 next-20160304]
[cannot apply to spi/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Purna-Chandra-Mandal/dt-bindings-Add-bindings-for-PIC32-SPI-peripheral/20160304-214814
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: sparc64-allmodconfig (attached as .config)
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=sparc64
All warnings (new ones prefixed by >>):
In file included from include/linux/dmaengine.h:20:0,
from drivers/spi/spi-pic32.c:20:
drivers/spi/spi-pic32.c: In function 'pic32_spi_dma_transfer':
>> drivers/spi/spi-pic32.c:392:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
xfer->tx_buf, (void *)xfer->tx_dma,
^
include/linux/device.h:1286:41: note: in definition of macro 'dev_vdbg'
dev_printk(KERN_DEBUG, dev, format, ##arg); \
^
drivers/spi/spi-pic32.c:393:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
xfer->rx_buf, (void *)xfer->rx_dma);
^
include/linux/device.h:1286:41: note: in definition of macro 'dev_vdbg'
dev_printk(KERN_DEBUG, dev, format, ##arg); \
^
vim +392 drivers/spi/spi-pic32.c
376 ret = -EINVAL;
377 goto err_dma;
378 }
379
380 desc_tx = dmaengine_prep_slave_sg(master->dma_tx,
381 xfer->tx_sg.sgl,
382 xfer->tx_sg.nents,
383 DMA_TO_DEVICE,
384 DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
385 if (!desc_tx) {
386 ret = -EINVAL;
387 goto err_dma;
388 }
389
390 dev_vdbg(&master->dev, "dma_xfer %p: len %u, tx %p(%p), rx %p(%p)\n",
391 xfer, xfer->len,
> 392 xfer->tx_buf, (void *)xfer->tx_dma,
393 xfer->rx_buf, (void *)xfer->rx_dma);
394
395 /* Put callback on the RX transfer, that should finish last */
396 desc_rx->callback = pic32_spi_dma_rx_notify;
397 desc_rx->callback_param = pic32s;
398
399 cookie = dmaengine_submit(desc_rx);
400 ret = dma_submit_error(cookie);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44806 bytes --]
next prev parent reply other threads:[~2016-03-05 6:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-04 13:44 [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral Purna Chandra Mandal
2016-03-04 13:44 ` [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver Purna Chandra Mandal
2016-03-04 15:22 ` kbuild test robot
2016-03-04 15:22 ` [PATCH] spi: spi-pic32: fix platform_no_drv_owner.cocci warnings kbuild test robot
2016-03-05 3:40 ` [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver Mark Brown
2016-03-05 15:15 ` Purna Chandra Mandal
2016-03-06 2:25 ` Mark Brown
2016-03-05 6:36 ` kbuild test robot [this message]
2016-03-05 4:31 ` [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201603051419.aiqCMzqq%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=digitalpeer@digitalpeer.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=purna.mandal@microchip.com \
--cc=sergei.shtylyov@cogentembedded.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®