Skip to content

Commit

Permalink
drm/xe: Remove uninitialized end var from xe_gt_tlb_invalidation_range()
Browse files Browse the repository at this point in the history
This fixes commit c4f1870 ("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: c4f1870 ("drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use this")
Cc: Matthew Brost <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
  • Loading branch information
nirmoy authored and lucasdemarchi committed Apr 30, 2024
1 parent 4caf410 commit e29a7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int xe_gt_tlb_invalidation_range(struct xe_gt *gt,
} else {
u64 orig_start = start;
u64 length = end - start;
u64 align, end;
u64 align;

if (length < SZ_4K)
length = SZ_4K;
Expand Down

0 comments on commit e29a7a3

Please sign in to comment.