[radeon-alex:amd-mainline-hybrid-4.11 103/518] drivers//pci/pci.c:2930:7: error: 'PCI_EXP_DEVCTL2_ATOMICOP_REQ' undeclared

kbuild test robot fengguang.wu at intel.com
Wed Jun 7 05:50:26 UTC 2017


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-mainline-hybrid-4.11
head:   7ccf5ab3da7a87288cc0fd11910b212e4ac154a6
commit: 22b340aa7636404cd6e4cb15f18bfb88afdbfb65 [103/518] PCI: Add pci_enable_atomic_request
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 22b340aa7636404cd6e4cb15f18bfb88afdbfb65
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the radeon-alex/amd-mainline-hybrid-4.11 HEAD 7ccf5ab3da7a87288cc0fd11910b212e4ac154a6 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers//pci/pci.c: In function 'pci_enable_atomic_request':
>> drivers//pci/pci.c:2930:7: error: 'PCI_EXP_DEVCTL2_ATOMICOP_REQ' undeclared (first use in this function)
          PCI_EXP_DEVCTL2_ATOMICOP_REQ);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers//pci/pci.c:2930:7: note: each undeclared identifier is reported only once for each function it appears in

vim +/PCI_EXP_DEVCTL2_ATOMICOP_REQ +2930 drivers//pci/pci.c

  2924		 * to implement AtomicOp requester capabilities. */
  2925		case PCI_EXP_TYPE_ENDPOINT:
  2926		case PCI_EXP_TYPE_LEG_END:
  2927		case PCI_EXP_TYPE_RC_END:
  2928		case PCI_EXP_TYPE_ROOT_PORT:
  2929			pcie_capability_set_word(dev, PCI_EXP_DEVCTL2,
> 2930						 PCI_EXP_DEVCTL2_ATOMICOP_REQ);
  2931			break;
  2932		}
  2933	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 25838 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170607/07f73cf0/attachment-0001.gz>


More information about the dri-devel mailing list