[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [RFC,1/2] drm/i915/dmc: Add soc stepping to intel_step

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 29 23:50:42 UTC 2021


== Series Details ==

Series: series starting with [RFC,1/2] drm/i915/dmc: Add soc stepping to intel_step
URL   : https://patchwork.freedesktop.org/series/92039/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
15f341baff60 drm/i915/dmc: Add soc stepping to intel_step
9ab5d8facd04 drm/i915/dmc: Modify stepping/substepping table
-:27: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#27: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:274:
+{
+

-:28: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#28: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:275:
+	switch (step.soc_step) {
+		case STEP_A0:
[...]
+		case STEP_A2:
[...]
+		case STEP_B0:
[...]
+		case STEP_B1:
[...]
+		case STEP_B2:
[...]
+		case STEP_B10:
[...]
+		case STEP_C0:
[...]
+		case STEP_D0:
[...]
+		case STEP_D1:
[...]
+		case STEP_E0:
[...]
+		case STEP_F0:
[...]
+		case STEP_G0:
[...]
+		case STEP_H0:
[...]
+		case STEP_H5:
[...]
+		case STEP_J0:
[...]
+		case STEP_J1:
[...]
+		case STEP_K0:
[...]
+		case STEP_P0:
[...]
+		case STEP_L0:
[...]
+		case STEP_Q0:
[...]
+		case STEP_R0:
[...]
+		case STEP_Y0:
[...]
+		default:

-:146: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#146: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:396:
+		return INTEL_REVID(dev_priv) < size ? si + INTEL_REVID(dev_priv) : &no_stepping_info;

total: 1 errors, 1 warnings, 1 checks, 133 lines checked




More information about the Intel-gfx mailing list