[Intel-gfx] [PATCH] drm/i915: use #defines for qemu subsystem ids

kbuild test robot lkp at intel.com
Fri Jan 29 01:37:25 PST 2016


Hi Gerd,

[auto build test ERROR on drm-intel/for-linux-next]
[cannot apply to v4.5-rc1 next-20160129]
[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/Gerd-Hoffmann/drm-i915-use-defines-for-qemu-subsystem-ids/20160129-172630
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x012-01270835 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_drv.c: In function 'intel_detect_pch':
>> drivers/gpu/drm/i915/i915_drv.c:506:10: error: 'PCI_SUBVENDOR_ID_REDHAT_QUMRANET' undeclared (first use in this function)
             PCI_SUBVENDOR_ID_REDHAT_QUMRANET &&
             ^
   drivers/gpu/drm/i915/i915_drv.c:506:10: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/i915/i915_drv.c:508:10: error: 'PCI_SUBDEVICE_ID_QEMU' undeclared (first use in this function)
             PCI_SUBDEVICE_ID_QEMU)) {
             ^

vim +/PCI_SUBVENDOR_ID_REDHAT_QUMRANET +506 drivers/gpu/drm/i915/i915_drv.c

   500					DRM_DEBUG_KMS("Found SunrisePoint LP PCH\n");
   501					WARN_ON(!IS_SKYLAKE(dev) &&
   502						!IS_KABYLAKE(dev));
   503				} else if ((id == INTEL_PCH_P2X_DEVICE_ID_TYPE) ||
   504					   ((id == INTEL_PCH_QEMU_DEVICE_ID_TYPE) &&
   505					    pch->subsystem_vendor ==
 > 506						    PCI_SUBVENDOR_ID_REDHAT_QUMRANET &&
   507					    pch->subsystem_device ==
 > 508						    PCI_SUBDEVICE_ID_QEMU)) {
   509					dev_priv->pch_type = intel_virt_detect_pch(dev);
   510				} else
   511					continue;

---
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/octet-stream
Size: 27196 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20160129/e29706c9/attachment-0001.obj>


More information about the Intel-gfx mailing list