[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: assume some pixelrate for src smaller than 1

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 4 19:12:32 UTC 2023


== Series Details ==

Series: drm/i915/display: assume some pixelrate for src smaller than 1
URL   : https://patchwork.freedesktop.org/series/112396/
State : warning

== Summary ==

Error: dim checkpatch failed
2c7cc185eea1 drm/i915/display: assume some pixelrate for src smaller than 1
-:32: CHECK:SPACING: No space is necessary after a cast
#32: FILE: drivers/gpu/drm/i915/display/intel_atomic_plane.c:159:
+	dst_wh = max(dst_w * dst_h, (unsigned) 1);

-:32: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#32: FILE: drivers/gpu/drm/i915/display/intel_atomic_plane.c:159:
+	dst_wh = max(dst_w * dst_h, (unsigned) 1);

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




More information about the Intel-gfx mailing list