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

Patchwork patchwork at emeril.freedesktop.org
Thu Jul 11 22:53:02 UTC 2019


== Series Details ==

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

== Summary ==

$ dim checkpatch origin/drm-tip
f0b680cba1f4 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