On Wed, 2020-11-04 at 13:24 +0000, Patchwork wrote: > == Series Details == > > Series: series starting with [v3,1/2] drm/i915/display: Support PSR > Multiple Transcoders > URL : https://patchwork.freedesktop.org/series/83495/ > State : warning > > == Summary == > > $ dim checkpatch origin/drm-tip > 215ae488cdd7 drm/i915/display: Support PSR Multiple Transcoders > -:1764: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_dp' - > possible side-effects? > #1764: FILE: drivers/gpu/drm/i915/display/intel_psr.h:21: > +#define CAN_PSR(intel_dp) (HAS_PSR(dp_to_i915(intel_dp)) && > intel_dp->psr.sink_support) > HAS_PSR() Macro does not change internal data of intel_dp, therefore there are no possible side-effects.
> total: 0 errors, 0 warnings, 1 checks, 1803 lines checked > f422291bce21 drm/i915/display: Support Multiple Transcoders' PSR > status on debugfs > > _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx