✗ Fi.CI.CHECKPATCH: warning for drm/i915: Replace some PAGE_SHIFTs with I915_GTT_PAGE_SIZE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux