[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for HDCP2.2 Phase II (rev3)

Patchwork patchwork at emeril.freedesktop.org
Sat Mar 9 04:54:01 UTC 2019


== Series Details ==

Series: HDCP2.2 Phase II (rev3)
URL   : https://patchwork.freedesktop.org/series/57232/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
60917522d34f drm/i915: debugfs: HDCP2.2 capability read
009fe1f15b74 drm: Add Content protection type property
-:58: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#58: FILE: drivers/gpu/drm/drm_connector.c:860:
+};
+DRM_ENUM_NAME_FN(drm_get_content_protection_type_name,

-:118: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#118: FILE: drivers/gpu/drm/drm_connector.c:1600:
+					ARRAY_SIZE(

-:176: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#176: FILE: include/drm/drm_connector.h:1325:
+int drm_connector_attach_content_protection_type_property(

total: 0 errors, 0 warnings, 3 checks, 146 lines checked
ba73cfe13f70 drm/i915: Attach content type property
-:88: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#88: FILE: drivers/gpu/drm/i915/intel_hdcp.c:1785:
+	ret = drm_connector_attach_content_protection_type_property(

total: 0 errors, 0 warnings, 1 checks, 117 lines checked
519754d1c377 drm/i915: HDCP SRM parsing and revocation check
d56237cd1cf3 drm/i915/sysfs: Node for hdcp srm
-:31: WARNING:SYMBOLIC_PERMS: Symbolic permissions 'S_IWUSR' are not preferred. Consider using octal permissions '0200'.
#31: FILE: drivers/gpu/drm/i915/i915_sysfs.c:591:
+	.attr = {.name = "hdcp_srm", .mode = S_IWUSR},

total: 0 errors, 1 warnings, 0 checks, 50 lines checked
791f8c417ccc drm: Add CP downstream_info property
-:96: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#96: FILE: drivers/gpu/drm/drm_connector.c:1650:
+int drm_connector_attach_content_protection_downstream_property(

-:129: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#129: FILE: drivers/gpu/drm/drm_connector.c:1683:
+int drm_connector_update_content_protection_downstream_property(

-:140: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#140: FILE: drivers/gpu/drm/drm_connector.c:1694:
+	ret = drm_property_replace_global_blob(dev,
+			&connector->content_protection_downstream_blob_ptr,

-:173: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#173: FILE: include/drm/drm_connector.h:1334:
+int drm_connector_attach_content_protection_downstream_property(

-:175: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#175: FILE: include/drm/drm_connector.h:1336:
+int drm_connector_update_content_protection_downstream_property(

total: 0 errors, 0 warnings, 5 checks, 174 lines checked
0e674e6c9f58 drm/i915: Populate downstream info for HDCP1.4
-:84: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#84: FILE: drivers/gpu/drm/i915/intel_hdcp.c:814:
+	if (drm_connector_update_content_protection_downstream_property(

-:96: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#96: FILE: drivers/gpu/drm/i915/intel_hdcp.c:852:
+			if (drm_connector_update_content_protection_downstream_property(

-:107: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#107: FILE: drivers/gpu/drm/i915/intel_hdcp.c:1907:
+	ret = drm_connector_attach_content_protection_downstream_property(

total: 0 errors, 0 warnings, 3 checks, 107 lines checked
714ef374c15a drm/i915: Populate downstream info for HDCP2.2
-:53: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#53: FILE: drivers/gpu/drm/i915/intel_hdcp.c:1677:
+		drm_connector_update_content_protection_downstream_property(

-:64: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#64: FILE: drivers/gpu/drm/i915/intel_hdcp.c:1688:
+	drm_connector_update_content_protection_downstream_property(

-:87: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#87: FILE: drivers/gpu/drm/i915/intel_hdcp.c:1713:
+	drm_connector_update_content_protection_downstream_property(

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



More information about the Intel-gfx mailing list