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

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 18 18:33:44 UTC 2019


== Series Details ==

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

== Summary ==

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

-:68: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "i915->vbt.ddi_port_info[PORT_D].child"
#68: 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