[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Replace some PAGE_SHIFTs with I915_GTT_PAGE_SIZE
Patchwork
patchwork at emeril.freedesktop.org
Mon Sep 17 17:28:23 UTC 2018
== Series Details ==
Series: drm/i915: Replace some PAGE_SHIFTs with I915_GTT_PAGE_SIZE
URL : https://patchwork.freedesktop.org/series/49801/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
3ef2392b50ed drm/i915: Replace some PAGE_SHIFTs with I915_GTT_PAGE_SIZE
-:68: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#68: FILE: drivers/gpu/drm/i915/i915_gem_gtt.c:1889:
+ unsigned first_entry = vma->node.start / I915_GTT_PAGE_SIZE;
-:114: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#114: FILE: drivers/gpu/drm/i915/i915_gem_gtt.c:2544:
+ unsigned first_entry = start / I915_GTT_PAGE_SIZE;
-:115: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#115: FILE: drivers/gpu/drm/i915/i915_gem_gtt.c:2545:
+ unsigned num_entries = length / I915_GTT_PAGE_SIZE;
-:125: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#125: FILE: drivers/gpu/drm/i915/i915_gem_gtt.c:2660:
+ unsigned first_entry = start / I915_GTT_PAGE_SIZE;
-:126: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#126: FILE: drivers/gpu/drm/i915/i915_gem_gtt.c:2661:
+ unsigned num_entries = length / I915_GTT_PAGE_SIZE;
total: 0 errors, 5 warnings, 0 checks, 104 lines checked
More information about the Intel-gfx
mailing list