[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Rename all CSR references to DMC (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Fri May 14 23:07:38 UTC 2021
== Series Details ==
Series: Rename all CSR references to DMC (rev2)
URL : https://patchwork.freedesktop.org/series/90043/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
2614b89575a3 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
3e0bf49df52a drm/i915/dmc: s/HAS_CSR/HAS_DMC
bf305a360075 drm/i915/dmc: Rename macro names containing csr
1c8af2ef23f0 drm/i915/dmc: Rename functions names having "csr"
9a0374d7e50f drm/i915/dmc: s/intel_csr.c/intel_dmc.c and s/intel_csr.h/intel_dmc.h
-:99: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#99:
rename from drivers/gpu/drm/i915/display/intel_csr.c
total: 0 errors, 1 warnings, 0 checks, 97 lines checked
More information about the Intel-gfx
mailing list