From: kbuild test robot <lkp@intel.com>
To: info@are.ma
Cc: kbuild-all@01.org, linux-media@vger.kernel.org, "Буди Романто,
AreMa Inc" <knightrider@are.ma>,
linux-kernel@vger.kernel.org, crope@iki.fi, m.chehab@samsung.com,
mchehab@osg.samsung.com, hdegoede@redhat.com,
laurent.pinchart@ideasonboard.com, mkrufky@linuxtv.org,
sylvester.nawrocki@gmail.com, g.liakhovetski@gmx.de,
peter.senna@gmail.com
Subject: Re: [media 7/8] PCIE bridge driver for PT3 & PX-Q3PE
Date: Fri, 1 Apr 2016 12:13:07 +0800 [thread overview]
Message-ID: <201604011220.3urAH9i3%fengguang.wu@intel.com> (raw)
In-Reply-To: <08c733e51c242ee9c9a2fee5bfac4a3fd70f0ec7.1459450632.git.knightrider@are.ma>
[-- Attachment #1: Type: text/plain, Size: 4151 bytes --]
Hi Буди,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.6-rc1 next-20160331]
[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/DVB-driver-for-Earthsoft-PT3-PLEX-PX-Q3PE-ISDB-S-T-PCIE-cards-PX-BCUD-ISDB-S-USB-dongle/20160401-034740
base: git://linuxtv.org/media_tree.git master
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/media/pci/ptx/pxq3pe_pci.c: In function 'pxq3pe_remove':
drivers/media/pci/ptx/pxq3pe_pci.c:484:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(p->sBuf);
^
drivers/media/pci/ptx/pxq3pe_pci.c: In function 'pxq3pe_probe':
drivers/media/pci/ptx/pxq3pe_pci.c:536:14: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
p->sBuf = vzalloc(p->sBufSize);
^
>> drivers/media/pci/ptx/pxq3pe_pci.c:536:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
p->sBuf = vzalloc(p->sBufSize);
^
cc1: some warnings being treated as errors
vim +536 drivers/media/pci/ptx/pxq3pe_pci.c
478 if (c->dma.dat)
479 pci_free_consistent(card->pdev, c->dma.sz, c->dma.dat, c->dma.adr);
480 for (i = 0; i < card->adapn; i++) {
481 struct ptx_adap *adap = &card->adap[i];
482 struct pxq3pe_adap *p = adap->priv;
483
> 484 vfree(p->sBuf);
485 }
486 if (c->bar)
487 pci_iounmap(pdev, c->bar);
488 ptx_unregister_adap(card);
489 }
490
491 static const struct i2c_algorithm pxq3pe_algo = {
492 .functionality = ptx_i2c_func,
493 .master_xfer = pxq3pe_xfr,
494 };
495
496 static int pxq3pe_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id)
497 {
498 struct ptx_subdev_info pxq3pe_subdev_info[] = {
499 {SYS_ISDBT, 0x20, TC90522_MODNAME, 0x10, NM131_MODNAME},
500 {SYS_ISDBS, 0x22, TC90522_MODNAME, 0x11, TDA2014X_MODNAME},
501 {SYS_ISDBT, 0x24, TC90522_MODNAME, 0x12, NM131_MODNAME},
502 {SYS_ISDBS, 0x26, TC90522_MODNAME, 0x13, TDA2014X_MODNAME},
503 {SYS_ISDBT, 0x28, TC90522_MODNAME, 0x14, NM131_MODNAME},
504 {SYS_ISDBS, 0x2A, TC90522_MODNAME, 0x15, TDA2014X_MODNAME},
505 {SYS_ISDBT, 0x2C, TC90522_MODNAME, 0x16, NM131_MODNAME},
506 {SYS_ISDBS, 0x2E, TC90522_MODNAME, 0x17, TDA2014X_MODNAME},
507 };
508 struct ptx_card *card = ptx_alloc(pdev, KBUILD_MODNAME, ARRAY_SIZE(pxq3pe_subdev_info),
509 sizeof(struct pxq3pe_card), sizeof(struct pxq3pe_adap), pxq3pe_lnb);
510 struct pxq3pe_card *c;
511 u8 regctl = 0xA0,
512 i;
513 u16 cfg;
514 int err = !card || pci_read_config_word(pdev, PCI_COMMAND, &cfg);
515
516 if (err)
517 return ptx_abort(pdev, pxq3pe_remove, err, "Memory/PCI error, card=%p", card);
518 c = card->priv;
519 if (!(cfg & PCI_COMMAND_MASTER)) {
520 pci_set_master(pdev);
521 pci_read_config_word(pdev, PCI_COMMAND, &cfg);
522 if (!(cfg & PCI_COMMAND_MASTER))
523 return ptx_abort(pdev, pxq3pe_remove, -EIO, "Bus Mastering is disabled");
524 }
525 c->bar = pci_iomap(pdev, 0, 0);
526 if (!c->bar)
527 return ptx_abort(pdev, pxq3pe_remove, -EIO, "I/O map failed");
528 if (ptx_i2c_add_adapter(card, &pxq3pe_algo))
529 return ptx_abort(pdev, pxq3pe_remove, -EIO, "Cannot add I2C");
530
531 for (i = 0; i < card->adapn; i++) {
532 struct ptx_adap *adap = &card->adap[i];
533 struct pxq3pe_adap *p = adap->priv;
534
535 p->sBufSize = PTX_TS_SIZE * 100 << 9;
> 536 p->sBuf = vzalloc(p->sBufSize);
537 if (!p->sBuf)
538 return ptx_abort(pdev, pxq3pe_remove, -ENOMEM, "No memory for stream buffer");
539 }
---
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: 54429 bytes --]
next prev parent reply other threads:[~2016-04-01 4:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-31 19:15 [media 0/8] DVB driver for Earthsoft PT3, PLEX PX-Q3PE ISDB-S/T PCIE cards & PX-BCUD ISDB-S USB dongle info
2016-03-31 19:32 ` info
2016-03-31 19:42 ` [media 1/8] raise adapter number limit info
2016-03-31 19:42 ` [media 2/8] NXP tda2014x & Newport Media nm120/130/131 tuner (PXQ3PE) info
2016-04-01 4:08 ` kbuild test robot
2016-04-01 4:20 ` kbuild test robot
2016-03-31 19:42 ` [media 3/8] drop backstabbing drivers info
2016-03-31 19:42 ` [media 4/8] Toshiba TC905xx demodulator for PT3/PX-Q3PE/PX-BCUD info
2016-03-31 19:42 ` [media 5/8] MaxLinear MxL301RF ISDB-T tuner info
2016-03-31 19:42 ` [media 6/8] Sharp QM1D1C004x ISDB-S tuner driver for PT3 and PX-BCUD info
2016-03-31 19:42 ` [media 7/8] PCIE bridge driver for PT3 & PX-Q3PE info
2016-04-01 3:47 ` kbuild test robot
2016-04-01 4:13 ` kbuild test robot [this message]
2016-04-01 14:27 ` kbuild test robot
2016-03-31 19:42 ` [media 8/8] Support for PLEX PX-BCUD (ISDB-S usb dongle) info
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=201604011220.3urAH9i3%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=crope@iki.fi \
--cc=g.liakhovetski@gmx.de \
--cc=hdegoede@redhat.com \
--cc=info@are.ma \
--cc=kbuild-all@01.org \
--cc=knightrider@are.ma \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=mchehab@osg.samsung.com \
--cc=mkrufky@linuxtv.org \
--cc=peter.senna@gmail.com \
--cc=sylvester.nawrocki@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.