[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Recalculate CDCLK if plane scaling ratio changes (rev2)

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 12 15:12:33 UTC 2022


== Series Details ==

Series: drm/i915: Recalculate CDCLK if plane scaling ratio changes (rev2)
URL   : https://patchwork.freedesktop.org/series/98750/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
48211c7b2066 drm/i915: Recalculate CDCLK if plane scaling ratio changes
-:56: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'old_hscale_ratio != new_hscale_ratio'
#56: FILE: drivers/gpu/drm/i915/display/intel_display.c:7532:
+	if ((old_hscale_ratio != new_hscale_ratio) ||
+	    (old_vscale_ratio != new_vscale_ratio)) {

-:56: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'old_vscale_ratio != new_vscale_ratio'
#56: FILE: drivers/gpu/drm/i915/display/intel_display.c:7532:
+	if ((old_hscale_ratio != new_hscale_ratio) ||
+	    (old_vscale_ratio != new_vscale_ratio)) {

-:119: CHECK:LINE_SPACING: Please don't use multiple blank lines
#119: FILE: drivers/gpu/drm/i915/display/intel_display.c:7603:
+
+

total: 0 errors, 0 warnings, 3 checks, 97 lines checked




More information about the Intel-gfx mailing list