[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Enclose for_each_engine_masked macro arguments in parentheses

Chris Wilson chris at chris-wilson.co.uk
Fri Apr 6 09:35:25 UTC 2018


Quoting Patchwork (2018-04-06 10:29:45)
> == Series Details ==
> 
> Series: drm/i915: Enclose for_each_engine_masked macro arguments in parentheses
> URL   : https://patchwork.freedesktop.org/series/41261/
> State : warning
> 
> == Summary ==
> 
> $ dim checkpatch origin/drm-tip
> e31cc0477730 drm/i915: Enclose for_each_engine_masked macro arguments in parentheses
> -:22: ERROR:SPACING: space prohibited before that close parenthesis ')'
> #22: FILE: drivers/gpu/drm/i915/i915_drv.h:2153:
> +            (tmp__) ? ((engine__) = (dev_priv__)->engine[__mask_next_bit(tmp__)]), 1 : 0; )

It has no mercy!
-Chris


More information about the Intel-gfx mailing list