[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: abstract and document register picking macros

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 29 10:31:50 UTC 2018


== Series Details ==

Series: drm/i915: abstract and document register picking macros
URL   : https://patchwork.freedesktop.org/series/45650/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
bce4e19e7c4d drm/i915: abstract and document register picking macros
-:25: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__a' - possible side-effects?
#25: FILE: drivers/gpu/drm/i915/i915_reg.h:148:
+#define _PICK_EVEN(__index, __a, __b) ((__a) + (__index) * ((__b) - (__a)))

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



More information about the Intel-gfx mailing list