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

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 5 20:44:41 UTC 2018


== Series Details ==

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

== Summary ==

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

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

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

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

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

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

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

total: 0 errors, 0 warnings, 7 checks, 99 lines checked



More information about the Intel-gfx mailing list