]> Git Repo - J-linux.git/commitdiff
drm/xe: Remove uninitialized end var from xe_gt_tlb_invalidation_range()
authorNirmoy Das <[email protected]>
Mon, 29 Apr 2024 20:30:39 +0000 (22:30 +0200)
committerLucas De Marchi <[email protected]>
Tue, 30 Apr 2024 13:13:33 +0000 (06:13 -0700)
This fixes commit c4f18703629d ("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: c4f18703629d ("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]>
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c

index d0ee1e0df0bd3d9976af63b37c974cd05d2b1193..c3d015a7ac337f49fa437e4e3458714db975f73a 100644 (file)
@@ -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;
This page took 0.059333 seconds and 4 git commands to generate.