[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dmc: some dmc id related fixes and cleanups

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 2 14:05:51 UTC 2023


== Series Details ==

Series: drm/i915/dmc: some dmc id related fixes and cleanups
URL   : https://patchwork.freedesktop.org/series/113596/
State : warning

== Summary ==

Error: dim checkpatch failed
20fa69323f49 drm/i915/dmc: add proper name to dmc id enum and use it
b2de2d242648 drm/i915/dmc: add for_each_dmc_id() and use it
-:18: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__dmc_id' - possible side-effects?
#18: FILE: drivers/gpu/drm/i915/display/intel_dmc.c:252:
+#define for_each_dmc_id(__dmc_id) \
+	for ((__dmc_id) = DMC_FW_MAIN; (__dmc_id) < DMC_FW_MAX; (__dmc_id)++)

total: 0 errors, 0 warnings, 1 checks, 57 lines checked
0fc5c95928a2 drm/i915/dmc: remove unnecessary dmc_id validity check
4e42b93e1826 drm/i915/dmc: add is_valid_dmc_id() and use it
a7f94ff438db drm/i915/dmc: check incoming dmc id validity




More information about the Intel-gfx mailing list