[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/kms: Add separate hotplug event call for drm connector (rev2)

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 2 11:46:50 UTC 2020


== Series Details ==

Series: drm/kms: Add separate hotplug event call for drm connector (rev2)
URL   : https://patchwork.freedesktop.org/series/81257/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
e24fd2c19263 drm/kms: Add separate hotplug event call for drm connector
-:40: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#40: FILE: drivers/gpu/drm/drm_probe_helper.c:610:
+void drm_kms_connector_hotplug_helper(struct drm_device *dev,
+		struct drm_connector *connector)

-:72: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#72: FILE: drivers/gpu/drm/drm_sysfs.c:357:
+void drm_sysfs_connector_hotplug_event(struct drm_device *dev,
+		struct drm_connector *connector)

-:75: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#75: FILE: drivers/gpu/drm/drm_sysfs.c:360:
+	char *envp[] = { hotplug_str, conn_id, NULL };

-:78: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#78: FILE: drivers/gpu/drm/drm_sysfs.c:363:
+	snprintf(conn_id, ARRAY_SIZE(conn_id),
+			"CONNECTOR=%u", connector->base.id);

-:98: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#98: FILE: include/drm/drm_probe_helper.h:23:
+void drm_kms_connector_hotplug_helper(struct drm_device *dev,
+		struct drm_connector *connector);

-:111: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#111: FILE: include/drm/drm_sysfs.h:15:
+void drm_sysfs_connector_hotplug_event(struct drm_device *dev,
+		struct drm_connector *connector);

total: 0 errors, 1 warnings, 5 checks, 82 lines checked




More information about the Intel-gfx mailing list