[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] Revert "drm/i915/perf: add a parameter to control the size of OA buffer"

Patchwork patchwork at emeril.freedesktop.org
Fri Nov 16 14:00:27 UTC 2018


== Series Details ==

Series: series starting with [1/2] Revert "drm/i915/perf: add a parameter to control the size of OA buffer"
URL   : https://patchwork.freedesktop.org/series/52612/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
b808c374682f Revert "drm/i915/perf: add a parameter to control the size of OA buffer"
-:42: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'tail' may be better as '(tail)' to avoid precedence issues
#42: FILE: drivers/gpu/drm/i915/i915_perf.c:221:
+#define OA_TAKEN(tail, head)	((tail - head) & (OA_BUFFER_SIZE - 1))

-:42: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'head' may be better as '(head)' to avoid precedence issues
#42: FILE: drivers/gpu/drm/i915/i915_perf.c:221:
+#define OA_TAKEN(tail, head)	((tail - head) & (OA_BUFFER_SIZE - 1))

total: 0 errors, 0 warnings, 2 checks, 272 lines checked
11e9d279512d Revert "drm/i915/perf: Fix warning in documentation"



More information about the Intel-gfx mailing list