Commit e29a7a34 authored by Nirmoy Das's avatar Nirmoy Das Committed by Lucas De Marchi

drm/xe: Remove uninitialized end var from xe_gt_tlb_invalidation_range()

This fixes commit c4f18703 ("drm/xe: Add
xe_gt_tlb_invalidation_range and convert PT layer to use this")
which added the end variable as part of the function param.

v2: Add fixes tag(Matt)

Fixes: c4f18703 ("drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use this")
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240429203039.26918-1-nirmoy.das@intel.comSigned-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent 4caf4107
...@@ -305,7 +305,7 @@ int xe_gt_tlb_invalidation_range(struct xe_gt *gt, ...@@ -305,7 +305,7 @@ int xe_gt_tlb_invalidation_range(struct xe_gt *gt,
} else { } else {
u64 orig_start = start; u64 orig_start = start;
u64 length = end - start; u64 length = end - start;
u64 align, end; u64 align;
if (length < SZ_4K) if (length < SZ_4K)
length = SZ_4K; length = SZ_4K;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment