git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ 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
|
history
diff --git
a/Documentation/rbtree.txt
b/Documentation/rbtree.txt
index
7710214
..
aae8355
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
);