From: kbuild test robot <lkp@intel.com>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Luis de Bethencourt <luisbg@osg.samsung.com>,
Javier Martinez Canillas <javier@osg.samsung.com>,
Tejun Heo <tj@kernel.org>,
linux-ide@vger.kernel.org
Subject: Re: [PATCH] ata: Allow drivers to build if COMPILE_TEST is enabled
Date: Wed, 14 Oct 2015 03:22:34 +0800 [thread overview]
Message-ID: <201510140320.OmtozOcX%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444743546-11917-1-git-send-email-javier@osg.samsung.com>
[-- Attachment #1: Type: text/plain, Size: 3220 bytes --]
Hi Javier,
[auto build test WARNING on tj-libata/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/ata-Allow-drivers-to-build-if-COMPILE_TEST-is-enabled/20151013-214138
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 >>):
drivers/ata/sata_dwc_460ex.c: In function 'dma_dwc_xfer_setup':
>> drivers/ata/sata_dwc_460ex.c:308:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
dma_addr_t addr = (dma_addr_t)&hsdev->sata_dwc_regs->dmadr;
^
vim +308 drivers/ata/sata_dwc_460ex.c
8b344485 Andy Shevchenko 2015-03-03 292 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) {
8b344485 Andy Shevchenko 2015-03-03 293 dev_err(ap->dev, "DMA not pending tag=0x%02x pending=%d\n",
8b344485 Andy Shevchenko 2015-03-03 294 tag, hsdevp->dma_pending[tag]);
62936009 Rupjyoti Sarmah 2010-07-06 295 }
62936009 Rupjyoti Sarmah 2010-07-06 296
8b344485 Andy Shevchenko 2015-03-03 297 if ((hsdevp->dma_interrupt_count % 2) == 0)
62936009 Rupjyoti Sarmah 2010-07-06 298 sata_dwc_dma_xfer_complete(ap, 1);
62936009 Rupjyoti Sarmah 2010-07-06 299
62936009 Rupjyoti Sarmah 2010-07-06 300 spin_unlock_irqrestore(&host->lock, flags);
62936009 Rupjyoti Sarmah 2010-07-06 301 }
62936009 Rupjyoti Sarmah 2010-07-06 302
8b344485 Andy Shevchenko 2015-03-03 303 static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd *qc)
62936009 Rupjyoti Sarmah 2010-07-06 304 {
8b344485 Andy Shevchenko 2015-03-03 305 struct ata_port *ap = qc->ap;
8b344485 Andy Shevchenko 2015-03-03 306 struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
8b344485 Andy Shevchenko 2015-03-03 307 struct sata_dwc_device *hsdev = HSDEV_FROM_AP(ap);
8b344485 Andy Shevchenko 2015-03-03 @308 dma_addr_t addr = (dma_addr_t)&hsdev->sata_dwc_regs->dmadr;
8b344485 Andy Shevchenko 2015-03-03 309 struct dma_slave_config sconf;
8b344485 Andy Shevchenko 2015-03-03 310 struct dma_async_tx_descriptor *desc;
62936009 Rupjyoti Sarmah 2010-07-06 311
8b344485 Andy Shevchenko 2015-03-03 312 if (qc->dma_dir == DMA_DEV_TO_MEM) {
8b344485 Andy Shevchenko 2015-03-03 313 sconf.src_addr = addr;
8b344485 Andy Shevchenko 2015-03-03 314 sconf.device_fc = true;
8b344485 Andy Shevchenko 2015-03-03 315 } else { /* DMA_MEM_TO_DEV */
8b344485 Andy Shevchenko 2015-03-03 316 sconf.dst_addr = addr;
:::::: The code at line 308 was first introduced by commit
:::::: 8b3444852a2b58129ee68a8dd69fef81ceb902a1 sata_dwc_460ex: move to generic DMA driver
:::::: TO: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
:::::: CC: Tejun Heo <tj@kernel.org>
---
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: 43443 bytes --]
prev parent reply other threads:[~2015-10-13 19:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-13 13:39 Javier Martinez Canillas
2015-10-13 19:17 ` kbuild test robot
2015-10-13 19:22 ` kbuild test robot [this message]
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=201510140320.OmtozOcX%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=javier@osg.samsung.com \
--cc=kbuild-all@01.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luisbg@osg.samsung.com \
--cc=tj@kernel.org \
/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®