[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Introduce intel_cursor.c

Patchwork patchwork at emeril.freedesktop.org
Wed Nov 11 11:18:02 UTC 2020


== Series Details ==

Series: series starting with [1/2] drm/i915: Introduce intel_cursor.c
URL   : https://patchwork.freedesktop.org/series/83704/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
432a0eeaffc6 drm/i915: Introduce intel_cursor.c
-:27: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#27: 
new file mode 100644

-:511: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#511: FILE: drivers/gpu/drm/i915/display/intel_cursor.c:480:
+		unsigned width = drm_rect_width(&plane_state->uapi.dst);

-:512: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#512: FILE: drivers/gpu/drm/i915/display/intel_cursor.c:481:
+		unsigned height = drm_rect_height(&plane_state->uapi.dst);

-:541: WARNING:REPEATED_WORD: Possible repeated word: 'by'
#541: FILE: drivers/gpu/drm/i915/display/intel_cursor.c:510:
+	 * The other registers are armed by by the CURBASE write

-:776: CHECK:SPACING: No space is necessary after a cast
#776: FILE: drivers/gpu/drm/i915/display/intel_cursor.c:745:
+	cursor->i9xx_plane = (enum i9xx_plane_id) pipe;

total: 0 errors, 4 warnings, 1 checks, 1714 lines checked
6540d46441e1 drm/i915: Fix checkpatch warns in cursor code
-:4: WARNING:EMAIL_SUBJECT: A patch subject line should describe the change not the tool that found it
#4: 
Subject: [PATCH] drm/i915: Fix checkpatch warns in cursor code

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




More information about the Intel-gfx mailing list