mas_lockdep_map() is only used internally and without static define, there is a build warning. Signed-off-by: Liam R. Howlett (Oracle) --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Andrew, Please apply this fixup to [PATCH 03/18] maple_tree: Add write lock checking with lockdep sequence numbers Thanks, Liam diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 1b2713190675d..c25ee19584d17 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -1155,7 +1155,7 @@ static inline void mas_free(struct ma_state *mas, struct maple_enode *used) #ifdef CONFIG_LOCKDEP -struct lockdep_map *mas_lockdep_map(struct ma_state *mas) +static struct lockdep_map *mas_lockdep_map(struct ma_state *mas) { struct maple_tree *mt = mas->tree; -- 2.47.3