[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/ehl: Allow combo PHY A to drive a third external display (rev2)

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 18 00:10:13 UTC 2019


== Series Details ==

Series: drm/i915/ehl: Allow combo PHY A to drive a third external display (rev2)
URL   : https://patchwork.freedesktop.org/series/62131/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
128ee0ddef48 drm/i915/ehl: Allow combo PHY A to drive a third external display
-:50: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "i915->vbt.ddi_port_info[PORT_A].child"
#50: FILE: drivers/gpu/drm/i915/display/intel_combo_phy.c:265:
+	bool ddi_a_present = i915->vbt.ddi_port_info[PORT_A].child != NULL;

-:51: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "i915->vbt.ddi_port_info[PORT_D].child"
#51: FILE: drivers/gpu/drm/i915/display/intel_combo_phy.c:266:
+	bool ddi_d_present = i915->vbt.ddi_port_info[PORT_D].child != NULL;

total: 0 errors, 0 warnings, 2 checks, 65 lines checked



More information about the Intel-gfx mailing list