Em Seg, 2018-06-11 às 22:35 +0000, Patchwork escreveu: > == Series Details == > > Series: series starting with [CI,1/2] drm/i915/icl: Add allowed DP > rates for Icelake > URL : https://patchwork.freedesktop.org/series/44595/ > State : warning > > == Summary == > > $ dim checkpatch origin/drm-tip > e6e6b2f7af58 drm/i915/icl: Add allowed DP rates for Icelake > 3fe43cb729fe drm/i915/dp: Add support for HBR3 and TPS4 during link > training > -:26: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV) > #26: FILE: drivers/gpu/drm/i915/i915_reg.h:8694: > +#define DP_TP_CTL_LINK_TRAIN_PAT4 (5<<8) Dear maintainers, I get this type of error way too often. What's the most desirable thing here? 1 - Make it "(5 << 8)" so checkpatch doesn't complain, which will leave the coding style inconsistent with the surrounding lines. 2 - Drive-by fix all the bits around it so everybody in the same definition has nice spaces, 2.a: in the same patch, 2.b: in a separate patch. 3 - Just ignore the checkpatch message, push code as-is. 4 - Blacklist this check from checkpatch. 5 - Submit a separate patch fixing all the spacing errors on i915_reg.h once and for all. Live happily ever after. 6 - Submit a separate patch converting everything to BIT() on i915_reg.h. Thanks, Paulo > ^ > > total: 0 errors, 0 warnings, 1 checks, 127 lines checked > _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx