[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: content-type property for HDMI connector

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 13 13:27:33 UTC 2018


== Series Details ==

Series: drm/i915: content-type property for HDMI connector
URL   : https://patchwork.freedesktop.org/series/41677/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3e378ba61f9d drm/i915: content-type property for HDMI connector
-:72: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#72: FILE: drivers/gpu/drm/drm_connector.c:1287:
+		drm_property_create_enum(dev, 0, "content type",
+				drm_content_type_enum_list,

-:75: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!dev->mode_config.content_type_property"
#75: FILE: drivers/gpu/drm/drm_connector.c:1290:
+	if (dev->mode_config.content_type_property == NULL)

-:159: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#159: FILE: drivers/gpu/drm/i915/intel_modes.c:142:
+		drm_object_attach_property(&connector->base,
+			connector->dev->mode_config.content_type_property,

total: 0 errors, 0 warnings, 3 checks, 149 lines checked



More information about the Intel-gfx mailing list