[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Improve on resume time with VT-d enabled

Patchwork patchwork at emeril.freedesktop.org
Wed Mar 23 10:04:48 UTC 2022


== Series Details ==

Series: Improve on resume time with VT-d enabled
URL   : https://patchwork.freedesktop.org/series/101676/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f21c5b663eaf drm/i915: Wrap all access to i915_vma.node.start|size
b41b256f8934 drm/i915: Introduce guard pages to i915_vma
-:219: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_node' - possible side-effects?
#219: FILE: drivers/gpu/drm/i915/i915_vma_resource.c:37:
+#define VMA_RES_START(_node) ((_node)->start - (_node)->guard)

-:220: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_node' - possible side-effects?
#220: FILE: drivers/gpu/drm/i915/i915_vma_resource.c:38:
+#define VMA_RES_LAST(_node) ((_node)->start + (_node)->node_size + (_node)->guard - 1)

total: 0 errors, 0 warnings, 2 checks, 196 lines checked
725484e79fb0 drm/i915: Refine VT-d scanout workaround




More information about the Intel-gfx mailing list