[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Implement CMRR Support
Patchwork
patchwork at emeril.freedesktop.org
Wed Nov 15 09:06:40 UTC 2023
== Series Details ==
Series: Implement CMRR Support
URL : https://patchwork.freedesktop.org/series/126443/
State : warning
== Summary ==
Error: dim checkpatch failed
235ee232c969 drm/i915: Define and compute Transcoder CMRR registers
-:35: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects?
#35: FILE: drivers/gpu/drm/i915/display/intel_display.c:5077:
+#define PIPE_CONF_CHECK_LLI(name) do { \
+ if (current_config->name != pipe_config->name) { \
+ pipe_config_mismatch(fastset, crtc, __stringify(name), \
+ "(expected %lli, found %lli)", \
+ current_config->name, \
+ pipe_config->name); \
+ ret = false; \
+ } \
+} while (0)
-:35: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'name' may be better as '(name)' to avoid precedence issues
#35: FILE: drivers/gpu/drm/i915/display/intel_display.c:5077:
+#define PIPE_CONF_CHECK_LLI(name) do { \
+ if (current_config->name != pipe_config->name) { \
+ pipe_config_mismatch(fastset, crtc, __stringify(name), \
+ "(expected %lli, found %lli)", \
+ current_config->name, \
+ pipe_config->name); \
+ ret = false; \
+ } \
+} while (0)
total: 0 errors, 0 warnings, 2 checks, 131 lines checked
6c3d4f923d7a drm/i915: Add Enable/Disable for CMRR based on VRR state
7d5318655d43 drm/i915: Compute CMRR and calculate vtotal
More information about the Intel-gfx
mailing list