[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for More DMC cleanup

Patchwork patchwork at emeril.freedesktop.org
Thu May 20 18:45:18 UTC 2021


== Series Details ==

Series: More DMC cleanup
URL   : https://patchwork.freedesktop.org/series/90379/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
a52e01980968 drm/i915/dmc: s/DRM_ERROR/drm_err
-:36: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#36: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:445:
+		drm_err(&i915->drm, "Unknown DMC fw header version: %u\n",
 			  dmc_header->header_ver);

-:77: WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
#77: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:488:
 	if (!dmc->dmc_payload) {
+		drm_err(&i915->drm, "Memory allocation failed for dmc payload\n");

-:105: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#105: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:523:
+		drm_err(&i915->drm, "DMC firmware has unknown header version %u\n",
 			  package_header->header_ver);

-:143: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#143: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:568:
 {
+

total: 0 errors, 1 warnings, 3 checks, 128 lines checked
141fc1f5685d drm/i915/dmc: Add intel_dmc_has_payload() helper




More information about the Intel-gfx mailing list