summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/rbtree.h2
-rw-r--r--include/linux/rbtree_latch.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
index 48acdc3889dd..b7078b0e1eb2 100644
--- a/include/linux/rbtree.h
+++ b/include/linux/rbtree.h
@@ -500,7 +500,7 @@ rb_find_first(const void *key, const struct rb_root *tree,
/**
* rb_next_match() - find the next @key in @tree
* @key: key to match
- * @tree: tree to search
+ * @node: tree to search
* @cmp: operator defining node order
*
* Returns the next node matching @key, or NULL.
diff --git a/include/linux/rbtree_latch.h b/include/linux/rbtree_latch.h
index 2f630eb8307e..b55a3a01bc8a 100644
--- a/include/linux/rbtree_latch.h
+++ b/include/linux/rbtree_latch.h
@@ -47,7 +47,7 @@ struct latch_tree_root {
};
/**
- * latch_tree_ops - operators to define the tree order
+ * struct latch_tree_ops - operators to define the tree order
* @less: used for insertion; provides the (partial) order between two elements.
* @comp: used for lookups; provides the order between the search key and an element.
*