[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: add a helper to make a copy of i915_params

Patchwork patchwork at emeril.freedesktop.org
Thu Dec 20 15:31:48 UTC 2018


== Series Details ==

Series: drm/i915: add a helper to make a copy of i915_params
URL   : https://patchwork.freedesktop.org/series/54353/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
6179c542522e drm/i915: add a helper to make a copy of i915_params
-:53: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'x' may be better as '(x)' to avoid precedence issues
#53: FILE: drivers/gpu/drm/i915/i915_params.c:216:
+#define DUP(T, x, ...) dup_param(#T, &dest->x);

-:53: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#53: FILE: drivers/gpu/drm/i915/i915_params.c:216:
+#define DUP(T, x, ...) dup_param(#T, &dest->x);

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



More information about the Intel-gfx mailing list