[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Simplify has_sagv
Patchwork
patchwork at emeril.freedesktop.org
Mon Oct 22 13:13:05 UTC 2018
== Series Details ==
Series: drm/i915: Simplify has_sagv
URL : https://patchwork.freedesktop.org/series/51266/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
8a60019e49e8 drm/i915: Simplify has_sagv
-:27: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#27: FILE: drivers/gpu/drm/i915/i915_drv.h:2653:
+#define HAS_SAGV(dev_priv) ((dev_priv)->info.has_sagv && \
+ dev_priv->sagv_status != I915_SAGV_NOT_CONTROLLED)
total: 0 errors, 0 warnings, 1 checks, 66 lines checked
More information about the Intel-gfx
mailing list