[Intel-gfx] [PATCH 1/6] drm/i915: Splitting intel_dp_detect

kbuild test robot lkp at intel.com
Mon Nov 2 05:05:38 PST 2015


Hi Shubhangi,

[auto build test WARNING on drm-intel/for-linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Shubhangi-Shrivastava/Fixing-sink-count-related-detection-over/20151102-205435
config: i386-randconfig-x003-11010709 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_dp.c: In function 'intel_dp_detect':
>> drivers/gpu/drm/i915/intel_dp.c:4883:22: warning: passing argument 1 of 'intel_dp_long_pulse' from incompatible pointer type [-Wincompatible-pointer-types]
     intel_dp_long_pulse(intel_dp->attached_connector);
                         ^
   drivers/gpu/drm/i915/intel_dp.c:4789:1: note: expected 'struct drm_connector *' but argument is of type 'struct intel_connector *'
    intel_dp_long_pulse(struct drm_connector *connector)
    ^

vim +/intel_dp_long_pulse +4883 drivers/gpu/drm/i915/intel_dp.c

  4867	{
  4868		struct intel_dp *intel_dp = intel_attached_dp(connector);
  4869		struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
  4870		struct intel_encoder *intel_encoder = &intel_dig_port->base;
  4871		struct intel_connector *intel_connector = to_intel_connector(connector);
  4872	
  4873		DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n",
  4874			      connector->base.id, connector->name);
  4875	
  4876		if (intel_dp->is_mst) {
  4877			/* MST devices are disconnected from a monitor POV */
  4878			if (intel_encoder->type != INTEL_OUTPUT_EDP)
  4879				intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT;
  4880			return connector_status_disconnected;
  4881		}
  4882	
> 4883		intel_dp_long_pulse(intel_dp->attached_connector);
  4884	
  4885		if (intel_connector->detect_edid)
  4886			return connector_status_connected;
  4887		else
  4888			return connector_status_disconnected;
  4889	}
  4890	
  4891	static void

---
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: 28234 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151102/3cda01cc/attachment-0001.obj>


More information about the Intel-gfx mailing list