[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper

Patchwork patchwork at emeril.freedesktop.org
Wed Apr 24 18:18:28 UTC 2019


== Series Details ==

Series: series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper
URL   : https://patchwork.freedesktop.org/series/59893/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f4ea4c654a95 drm/i915/icl: Factor out combo PHY lane power setup helper
-:107: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'v' - possible side-effects?
#107: FILE: drivers/gpu/drm/i915/intel_combo_phy.c:209:
+#define SWPBIT(v, b1, b2) (MOVBIT((v), (b1), (b2)) | MOVBIT((v), (b2), (b1)))

-:107: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'b1' - possible side-effects?
#107: FILE: drivers/gpu/drm/i915/intel_combo_phy.c:209:
+#define SWPBIT(v, b1, b2) (MOVBIT((v), (b1), (b2)) | MOVBIT((v), (b2), (b1)))

-:107: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'b2' - possible side-effects?
#107: FILE: drivers/gpu/drm/i915/intel_combo_phy.c:209:
+#define SWPBIT(v, b1, b2) (MOVBIT((v), (b1), (b2)) | MOVBIT((v), (b2), (b1)))

total: 0 errors, 0 warnings, 3 checks, 94 lines checked
a257598d1fae drm/i915/icl: Add missing combo PHY lane power setup



More information about the Intel-gfx mailing list