[Intel-gfx] [PATCH] drm/i915/dp: Update connector status for DP MST hotplugs
kbuild test robot
lkp at intel.com
Fri Nov 4 04:42:33 UTC 2016
Hi Dhinakaran,
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.9-rc3 next-20161028]
[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/Dhinakaran-Pandiyan/drm-i915-dp-Update-connector-status-for-DP-MST-hotplugs/20161104-113409
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x010-201644 (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 error/warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/intel_dp_mst.c: In function 'intel_dp_mst_hotplug':
>> drivers/gpu/drm/i915/intel_dp_mst.c:509:4: error: 'changed' undeclared (first use in this function)
changed = true;
^~~~~~~
drivers/gpu/drm/i915/intel_dp_mst.c:509:4: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/i915/intel_dp_mst.c:496:7: warning: unused variable 'change' [-Wunused-variable]
bool change = false;
^~~~~~
vim +/changed +509 drivers/gpu/drm/i915/intel_dp_mst.c
490 static void intel_dp_mst_hotplug(struct drm_dp_mst_topology_mgr *mgr)
491 {
492 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst_mgr);
493 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
494 struct drm_device *dev = intel_dig_port->base.base.dev;
495 struct intel_connector *intel_connector;
> 496 bool change = false;
497 enum drm_connector_status old_status;
498
499 for_each_intel_connector(dev, intel_connector) {
500 struct drm_connector *connector = &(intel_connector->base);
501
502 if (intel_connector->mst_port != intel_dp)
503 continue;
504
505 old_status = connector->status;
506 connector->status = connector->funcs->detect(connector, false);
507
508 if (old_status != connector->status)
> 509 changed = true;
510 }
511
512 if (changed)
---
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: 27836 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161104/4f88cc96/attachment-0001.gz>
More information about the Intel-gfx
mailing list