[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Rename all CSR references to DMC

Patchwork patchwork at emeril.freedesktop.org
Tue May 11 23:29:53 UTC 2021


== Series Details ==

Series: Rename all CSR references to DMC
URL   : https://patchwork.freedesktop.org/series/90043/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
79e2c73a294f drm/i915/dmc: s/intel_csr/intel_dmc
-:355: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!dmc->fw_path"
#355: FILE: drivers/gpu/drm/i915/display/intel_csr.c:759:
+	if (dmc->fw_path == NULL) {

-:423: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "dmc->dmc_payload"
#423: FILE: drivers/gpu/drm/i915/display/intel_display_debugfs.c:545:
+	seq_printf(m, "fw loaded: %s\n", yesno(dmc->dmc_payload != NULL));

-:666: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "dmc->dmc_payload"
#666: FILE: drivers/gpu/drm/i915/i915_gpu_error.c:795:
+			   yesno(dmc->dmc_payload != NULL));

total: 0 errors, 0 warnings, 3 checks, 600 lines checked
55c18d96d67e drm/i915/dmc: s/HAS_CSR/HAS_DMC
d0c041938ae8 drm/i915/dmc: Rename macro names containing csr
438f793ebf03 drm/i915/dmc: Rename functions names having "csr"
5532dbf2c306 drm/i915/dmc: s/intel_csr.c/intel_dmc.c and s/intel_csr.h/intel_dmc.h
-:66: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#66: 
rename from drivers/gpu/drm/i915/display/intel_csr.c

total: 0 errors, 1 warnings, 0 checks, 71 lines checked




More information about the Intel-gfx mailing list