Re: [media 7/7] PCI bridge driver for PT3 & PXQ3PE

From: kbuild test robot
Date: Mon Feb 15 2016 - 06:53:08 EST


Hi ÐÑÐÐ,

[auto build test ERROR on linuxtv-media/master]
[cannot apply to v4.5-rc4 next-20160215]
[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/info-are-ma/Driver-bundle-for-PT3-PX-Q3PE/20160215-173307
base: git://linuxtv.org/media_tree.git master
config: microblaze-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=microblaze

All errors (new ones prefixed by >>):

drivers/media/pci/ptx/pxq3pe_pci.c: In function 'pxq3pe_remove':
>> drivers/media/pci/ptx/pxq3pe_pci.c:493:20: error: 'dma_ops' undeclared (first use in this function)
if (c->dma.dat && dma_ops->free)
^
drivers/media/pci/ptx/pxq3pe_pci.c:493:20: note: each undeclared identifier is reported only once for each function it appears in
drivers/media/pci/ptx/pxq3pe_pci.c: In function 'pxq3pe_probe':
drivers/media/pci/ptx/pxq3pe_pci.c:561:41: error: 'dma_ops' undeclared (first use in this function)
if (dev->dma_mask && *dev->dma_mask && dma_ops->alloc) {
^

vim +/dma_ops +493 drivers/media/pci/ptx/pxq3pe_pci.c

487 }
488 pxq3pe_w(card, PXQ3PE_I2C_ADR_GPIO, 0x80, &regctl, 1, PXQ3PE_MODE_GPIO);
489 pxq3pe_power(card, false);
490
491 /* dma_hw_unmap */
492 free_irq(pdev->irq, card);
> 493 if (c->dma.dat && dma_ops->free)
494 dma_ops->free(&pdev->dev, c->dma.sz, c->dma.dat, c->dma.adr, NULL);
495 for (i = 0; i < card->adapn; i++) {
496 struct ptx_adap *adap = &card->adap[i];

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

Attachment: .config.gz
Description: Binary data