[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Use shallow dma pages for scratch (rev2)

Patchwork patchwork at emeril.freedesktop.org
Fri Jul 12 08:03:44 UTC 2019


== Series Details ==

Series: drm/i915/gtt: Use shallow dma pages for scratch (rev2)
URL   : https://patchwork.freedesktop.org/series/63595/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
820b8449637c drm/i915/gtt: Use shallow dma pages for scratch
-:540: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'px' - possible side-effects?
#540: FILE: drivers/gpu/drm/i915/i915_gem_gtt.h:262:
+#define px_base(px) \
+	__px_choose_expr(px, struct i915_page_dma *, __x, \
+	__px_choose_expr(px, struct i915_page_table *, &__x->base, \
+	__px_choose_expr(px, struct i915_page_directory *, &__x->base, \
+	(void)0)))

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



More information about the Intel-gfx mailing list