[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220719171006.3299123-1-Liam.Howlett@oracle.com>
Date: Tue, 19 Jul 2022 17:10:15 +0000
From: Liam Howlett <liam.howlett@...cle.com>
To: "maple-tree@...ts.infradead.org" <maple-tree@...ts.infradead.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Yu Zhao <yuzhao@...gle.com>, Hugh Dickins <hughd@...gle.com>,
Li Hongyu <lihongyu1999@...t.edu.cn>,
Matthew Wilcox <willy@...radead.org>
Subject: [PATCH] maple_tree: Drop typedef from header
These typedefs are not used and cause issues with rust in the kernel.
Fixes: fb7297e8a66b (Maple Tree: add new data structure)
Reported-by: Li Hongyu <lihongyu1999@...t.edu.cn>
Suggested-by: Matthew Wilcox <willy@...radead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@...cle.com>
---
include/linux/maple_tree.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index 258ca222e145..bdb891b0d2b5 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -72,8 +72,6 @@
* 0x010 : 32 bit values, type in 0-2, slot in 3-6
* 0x110 : 64 bit values, type in 0-2, slot in 3-6
*/
-typedef struct maple_enode *maple_enode; /* encoded node */
-typedef struct maple_pnode *maple_pnode; /* parent node */
/*
* This metadata is used to optimize the gap updating code and in reverse
--
2.35.1
Powered by blists - more mailing lists