projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cdcd9d
)
trivial: rbtree.txt: fix rb_entry() parameters in sample code
author
Wang Tinggong
<wangtinggong@gmail.com>
Thu, 14 May 2009 09:00:20 +0000
(11:00 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 12 Jun 2009 16:01:47 +0000
(18:01 +0200)
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/rbtree.txt
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/rbtree.txt
b/Documentation/rbtree.txt
index 77102148e67b63f5eefd704fcd6268c13f305e73..aae8355d3166ddde11436ca5a21bd7e234e68806 100644
(file)
--- a/
Documentation/rbtree.txt
+++ b/
Documentation/rbtree.txt
@@
-188,5
+188,5
@@
Example:
struct rb_node *node;
for (node = rb_first(&mytree); node; node = rb_next(node))
- printk("key=%s\n", rb_entry(node,
int, keystring)
);
+ printk("key=%s\n", rb_entry(node,
struct mytype, node)->keystring
);