[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Make macro definitions consistent in intel_reg.h

Patchwork patchwork at emeril.freedesktop.org
Mon Jan 28 23:00:02 UTC 2019


== Series Details ==

Series: Make macro definitions consistent in intel_reg.h
URL   : https://patchwork.freedesktop.org/series/55875/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
1eaa92c3b871 drm/i915: Make macro definitions consistent for ICL and CNL
504ef6aa90ba drm/i915: Make MG phy macros semantically consistent
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ln0p1' - possible side-effects?
#23: FILE: drivers/gpu/drm/i915/i915_reg.h:1900:
+#define MG_PHY_PORT_LN(ln, port, ln0p1, ln0p2, ln1p1) \
 	_MMIO(_PORT((port) - PORT_C, ln0p1, ln0p2) + (ln) * ((ln1p1) - (ln0p1)))

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



More information about the Intel-gfx mailing list