[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: refactor cursor code out of i915_display.c

Patchwork patchwork at emeril.freedesktop.org
Wed Dec 9 01:05:21 UTC 2020


== Series Details ==

Series: drm/i915: refactor cursor code out of i915_display.c
URL   : https://patchwork.freedesktop.org/series/84707/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
c5d8edc678f0 drm/i915: refactor cursor code out of i915_display.c
-:24: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#24: 
new file mode 100644

-:29: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#29: FILE: drivers/gpu/drm/i915/display/intel_cursor.c:1:
+/*

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

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

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

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

total: 0 errors, 5 warnings, 1 checks, 1696 lines checked




More information about the Intel-gfx mailing list