Re: [PATCH] uio/uio_pci_generic: don't fail probe if pdev->irq == NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jim,

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.11 next-20170501]
[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/Jim-Harris/uio-uio_pci_generic-don-t-fail-probe-if-pdev-irq-NULL/20170501-040733
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/uio/uio_pci_generic.c: In function 'probe':
>> drivers/uio/uio_pci_generic.c:69:6: error: 'pci' undeclared (first use in this function)
     if (pci->irq && !pci_intx_mask_supported(pdev)) {
         ^~~
   drivers/uio/uio_pci_generic.c:69:6: note: each undeclared identifier is reported only once for each function it appears in

vim +/pci +69 drivers/uio/uio_pci_generic.c

    63		if (err) {
    64			dev_err(&pdev->dev, "%s: pci_enable_device failed: %d\n",
    65				__func__, err);
    66			return err;
    67		}
    68	
  > 69		if (pci->irq && !pci_intx_mask_supported(pdev)) {
    70			err = -ENODEV;
    71			goto err_verify;
    72		}

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux