[pci:pci/virtualization 3/3] drivers/pci/quirks.c:3243:22: error: 'PCI_DEVICE_ID_MELLANOX_CONNECTIB' undeclared

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/virtualization
head:   35337b7c9f1025b19f22b4b8f516247e371620e4
commit: 35337b7c9f1025b19f22b4b8f516247e371620e4 [3/3] PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
config: x86_64-randconfig-x011-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 35337b7c9f1025b19f22b4b8f516247e371620e4
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/pci/quirks.c: In function 'mellanox_check_broken_intx_masking':
>> drivers/pci/quirks.c:3243:22: error: 'PCI_DEVICE_ID_MELLANOX_CONNECTIB' undeclared (first use in this function)
     if (pdev->device == PCI_DEVICE_ID_MELLANOX_CONNECTIB)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pci/quirks.c:3243:22: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/pci/quirks.c:3246:22: error: 'PCI_DEVICE_ID_MELLANOX_CONNECTX4' undeclared (first use in this function)
     if (pdev->device != PCI_DEVICE_ID_MELLANOX_CONNECTX4 &&
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pci/quirks.c:3247:22: error: 'PCI_DEVICE_ID_MELLANOX_CONNECTX4_LX' undeclared (first use in this function)
         pdev->device != PCI_DEVICE_ID_MELLANOX_CONNECTX4_LX)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/PCI_DEVICE_ID_MELLANOX_CONNECTIB +3243 drivers/pci/quirks.c

  3237			}
  3238		}
  3239	
  3240		/* Getting here means Connect-IB cards and up. Connect-IB has no INTx
  3241		 * support so shouldn't be checked further
  3242		 */
> 3243		if (pdev->device == PCI_DEVICE_ID_MELLANOX_CONNECTIB)
  3244			return;
  3245	
> 3246		if (pdev->device != PCI_DEVICE_ID_MELLANOX_CONNECTX4 &&
> 3247		    pdev->device != PCI_DEVICE_ID_MELLANOX_CONNECTX4_LX)
  3248			return;
  3249	
  3250		/* For ConnectX-4 and ConnectX-4LX, need to check FW support */

---
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]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux