[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for CRTC background color (rev4)

Patchwork patchwork at emeril.freedesktop.org
Sat Dec 29 00:01:16 UTC 2018


== Series Details ==

Series: CRTC background color (rev4)
URL   : https://patchwork.freedesktop.org/series/50834/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
b53f08e7eb12 drm/i915: Force background color to black for gen9+ (v2)
2544c9624336 drm: Add CRTC background color property (v4)
-:218: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'shift' - possible side-effects?
#218: FILE: include/uapi/drm/drm_mode.h:931:
+#define DRM_ARGB_COMP(c, shift, numbits) \
+	(__u16)(((c) & 0xFFFFull << (shift)) >> ((shift) + 16 - (numbits)))

total: 0 errors, 0 warnings, 1 checks, 132 lines checked
720c678293f9 drm/i915/gen9+: Add support for pipe background color (v4)



More information about the Intel-gfx mailing list