[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Clamp min_cdclk to max_cdclk_freq to unblock 8K

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 30 15:56:44 UTC 2020


== Series Details ==

Series: drm/i915: Clamp min_cdclk to max_cdclk_freq to unblock 8K
URL   : https://patchwork.freedesktop.org/series/78940/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
abfcf6db3529 drm/i915: Clamp min_cdclk to max_cdclk_freq to unblock 8K
-:29: WARNING:MINMAX: min() should probably be min_t(int, min_cdclk, dev_priv->max_cdclk_freq)
#29: FILE: drivers/gpu/drm/i915/display/intel_cdclk.c:2090:
+		min_cdclk = min(min_cdclk, (int)dev_priv->max_cdclk_freq);

total: 0 errors, 1 warnings, 0 checks, 22 lines checked



More information about the Intel-gfx mailing list