== Series Details == Series: series starting with [v13,1/2] drm/i915/display: Support PSR Multiple Instances URL : https://patchwork.freedesktop.org/series/86361/ State : warning == Summary == $ dim checkpatch origin/drm-tip a69d1c74e99d drm/i915/display: Support PSR Multiple Instances -:80: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #80: FILE: drivers/gpu/drm/i915/display/intel_display.h:420: +#define for_each_intel_encoder_is_psr_enabled(dev, intel_encoder, encoder_mask) \ + list_for_each_entry(intel_encoder, \ + &(dev)->mode_config.encoder_list, \ + base.head) \ + for_each_if(((encoder_mask) & \ + drm_encoder_mask(&intel_encoder->base)) && \ + intel_encoder_is_psr_enabled(intel_encoder)) -:80: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_encoder' - possible side-effects? #80: FILE: drivers/gpu/drm/i915/display/intel_display.h:420: +#define for_each_intel_encoder_is_psr_enabled(dev, intel_encoder, encoder_mask) \ + list_for_each_entry(intel_encoder, \ + &(dev)->mode_config.encoder_list, \ + base.head) \ + for_each_if(((encoder_mask) & \ + drm_encoder_mask(&intel_encoder->base)) && \ + intel_encoder_is_psr_enabled(intel_encoder)) -:1464: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #1464: FILE: drivers/gpu/drm/i915/display/intel_psr.c:1731: + unsigned pipe_frontbuffer_bits = frontbuffer_bits; -:1567: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #1567: FILE: drivers/gpu/drm/i915/display/intel_psr.c:1813: + unsigned pipe_frontbuffer_bits = frontbuffer_bits; -:1716: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_dp' - possible side-effects? #1716: 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) total: 1 errors, 2 warnings, 2 checks, 1713 lines checked 250803287c38 drm/i915/display: Support Multiple Transcoders' PSR status on debugfs _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx