[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200927171553.GA6910@rlk>
Date: Mon, 28 Sep 2020 01:15:53 +0800
From: Hui Su <sh_def@....com>
To: peterz@...radead.org, mingo@...nel.org, willy@...radead.org,
sh_def@....com, bigeasy@...utronix.de, linux-kernel@...r.kernel.org
Subject: [PATCH] radix-tree: fix the comment of radix_tree_next_slot()
fix the comment of radix_tree_next_slot():
interator --> iterator.
Signed-off-by: Hui Su <sh_def@....com>
---
include/linux/radix-tree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index c2a9f7c90727..03591b18215f 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -376,7 +376,7 @@ radix_tree_chunk_size(struct radix_tree_iter *iter)
* radix_tree_next_slot - find next slot in chunk
*
* @slot: pointer to current slot
- * @iter: pointer to interator state
+ * @iter: pointer to iterator state
* @flags: RADIX_TREE_ITER_*, should be constant
* Returns: pointer to next slot, or NULL if there no more left
*
--
2.25.1
Powered by blists - more mailing lists