[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: A check on mode->clock, if it exceeds max_dot_clock

Patchwork patchwork at emeril.freedesktop.org
Wed Nov 23 08:07:39 UTC 2022


== Series Details ==

Series: drm/i915/display: A check on mode->clock, if it exceeds max_dot_clock
URL   : https://patchwork.freedesktop.org/series/111240/
State : warning

== Summary ==

Error: dim checkpatch failed
abeb32d368e6 drm/i915/display: A check on mode->clock, if it exceeds max_dot_clock
-:22: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'adjusted_mode->clock > dev_priv->max_dotclk_freq'
#22: FILE: drivers/gpu/drm/i915/display/intel_dp.c:2066:
+	if (!intel_dp_can_bigjoiner(intel_dp) &&
+			(adjusted_mode->clock > dev_priv->max_dotclk_freq))

-:23: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#23: FILE: drivers/gpu/drm/i915/display/intel_dp.c:2067:
+	if (!intel_dp_can_bigjoiner(intel_dp) &&
+			(adjusted_mode->clock > dev_priv->max_dotclk_freq))

-:27: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#27: FILE: drivers/gpu/drm/i915/display/intel_dp.c:2071:
+	if (intel_dp_can_bigjoiner(intel_dp) &&
+		(adjusted_mode->clock >  (2 * dev_priv->max_dotclk_freq)))

-:30: CHECK:LINE_SPACING: Please don't use multiple blank lines
#30: FILE: drivers/gpu/drm/i915/display/intel_dp.c:2074:
+
+

total: 0 errors, 0 warnings, 4 checks, 25 lines checked




More information about the Intel-gfx mailing list