[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v4,1/2] drm: Add connector property to limit max bpc

Patchwork patchwork at emeril.freedesktop.org
Thu Aug 30 15:50:57 UTC 2018


== Series Details ==

Series: series starting with [v4,1/2] drm: Add connector property to limit max bpc
URL   : https://patchwork.freedesktop.org/series/48960/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
a2b1ae142db2 drm: Add connector property to limit max bpc
3555676ce4a1 drm/i915: Allow "max bpc" property to limit pipe_bpp
-:31: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#31: FILE: drivers/gpu/drm/i915/intel_display.c:10788:
+connected_sink_max_bpp(struct drm_connector_state *conn_state,
+			     struct intel_crtc_state *pipe_config)

-:36: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#36: FILE: drivers/gpu/drm/i915/intel_display.c:10793:
+		pipe_config->pipe_bpp = 8*3;
 		                         ^

-:40: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#40: FILE: drivers/gpu/drm/i915/intel_display.c:10797:
+		pipe_config->pipe_bpp = 10*3;
 		                          ^

-:43: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#43: FILE: drivers/gpu/drm/i915/intel_display.c:10800:
+		pipe_config->pipe_bpp = 12*3;
 		                          ^

-:130: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!prop"
#130: FILE: drivers/gpu/drm/i915/intel_modes.c:146:
+	if (prop == NULL) {

-:132: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!prop"
#132: FILE: drivers/gpu/drm/i915/intel_modes.c:148:
+		if (prop == NULL)

total: 0 errors, 0 warnings, 6 checks, 94 lines checked



More information about the Intel-gfx mailing list