[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/6] drm/i915/gtt: Wrap page_table with page_directory

Patchwork patchwork at emeril.freedesktop.org
Fri Jul 12 10:55:37 UTC 2019


== Series Details ==

Series: series starting with [CI,1/6] drm/i915/gtt: Wrap page_table with page_directory
URL   : https://patchwork.freedesktop.org/series/63629/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
203c4b085992 drm/i915/gtt: Wrap page_table with page_directory
-:385: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'px' - possible side-effects?
#385: FILE: drivers/gpu/drm/i915/i915_gem_gtt.h:268:
+#define px_pt(px) \
+	__px_choose_expr(px, struct i915_page_table *, __x, \
+	__px_choose_expr(px, struct i915_page_directory *, &__x->pt, \
+	(void)0))

total: 0 errors, 0 warnings, 1 checks, 352 lines checked
40f5e813d128 drm/i915/gtt: Reorder gen8 ppgtt free/clear/alloc
-:371: WARNING:LINE_SPACING: Missing a blank line after declarations
#371: FILE: drivers/gpu/drm/i915/i915_gem_gtt.c:1193:
+	dma_addr_t addr = sg_dma_address(sg);
+	return (struct sgt_dma) { sg, addr, addr + sg->length };

total: 0 errors, 1 warnings, 0 checks, 717 lines checked
33a26b3513b1 drm/i915/gtt: Markup i915_ppgtt height
187530eee8da drm/i915/gtt: Compute the radix for gen8 page table levels
c0eac34d6115 drm/i915/gtt: Convert vm->scratch into an array
020a2249b498 drm/i915/gtt: Use NULL to encode scratch shadow entries



More information about the Intel-gfx mailing list