summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiam R. Howlett (Oracle) <liam@infradead.org>2026-06-30 15:08:41 -0400
committerAndrew Morton <akpm@linux-foundation.org>2026-08-20 18:24:55 -0700
commit3fc6ecb6d071aa4bed85b3ca5507b03f3b726343 (patch)
tree972bedb420c61f53bfb96ff4284595910f25a90a /include
parentd9703bc3701358217eebd557b381851daa21ef80 (diff)
downloadlinux-next-3fc6ecb6d071aa4bed85b3ca5507b03f3b726343.tar.gz
linux-next-3fc6ecb6d071aa4bed85b3ca5507b03f3b726343.zip
maple_tree: fix argument name in header
The mas_prev_range() function takes a min and not a max. Link: https://lore.kernel.org/20260630190843.3563858-18-liam@infradead.org Fixes: 6b9e93e01020 ("maple_tree: add mas_prev_range() and mas_find_range_rev interface") Signed-off-by: Liam R. Howlett (Oracle) <liam@infradead.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Chris Mason <clm@meta.com> Cc: Chuck Lever <cel@kernel.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Joe Perches <joe@perches.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@surriel.com> Cc: Waiman Long <longman@redhat.com> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/maple_tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index 14ca9ac775d9..b723384b3bf4 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -575,7 +575,7 @@ void maple_tree_init(void);
void mas_destroy(struct ma_state *mas);
void *mas_prev(struct ma_state *mas, unsigned long min);
-void *mas_prev_range(struct ma_state *mas, unsigned long max);
+void *mas_prev_range(struct ma_state *mas, unsigned long min);
void *mas_next(struct ma_state *mas, unsigned long max);
void *mas_next_range(struct ma_state *mas, unsigned long max);