Hi Andrew,

Could you apply the attached fix-patch to avoid a duplicate struct define as
reported by https://lore.kernel.org/all/[email protected]/ ?

Thanks, Lorenzo

----8<----
>From d19e621020697b25d70f13ffeb2b0eb46682a60d Mon Sep 17 00:00:00 2001
From: Lorenzo Stoakes <[email protected]>
Date: Tue, 27 Jan 2026 10:02:00 +0000
Subject: [PATCH] fix

Signed-off-by: Lorenzo Stoakes <[email protected]>
---
 tools/testing/vma/include/dup.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tools/testing/vma/include/dup.h b/tools/testing/vma/include/dup.h
index ed8708afb7af..0accfc296615 100644
--- a/tools/testing/vma/include/dup.h
+++ b/tools/testing/vma/include/dup.h
@@ -1327,15 +1327,3 @@ static inline void vma_set_file(struct vm_area_struct 
*vma, struct file *file)
        swap(vma->vm_file, file);
        fput(file);
 }
-
-struct unmap_desc {
-       struct  ma_state *mas;        /* the maple state point to the first vma 
*/
-       struct vm_area_struct *first; /* The first vma */
-       unsigned long pg_start;       /* The first pagetable address to free 
(floor) */
-       unsigned long pg_end;         /* The last pagetable address to free 
(ceiling) */
-       unsigned long vma_start;      /* The min vma address */
-       unsigned long vma_end;        /* The max vma address */
-       unsigned long tree_end;       /* Maximum for the vma tree search */
-       unsigned long tree_reset;     /* Where to reset the vma tree walk */
-       bool mm_wr_locked;            /* If the mmap write lock is held */
-};
--
2.52.0

Reply via email to