HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Coccinelle release 0.2.5-rc8
[bpt/coccinelle.git]
/
tests
/
of.cocci
1
@r@
2
identifier d;
3
expression e;
4
@@
5
6
for (d = NULL; (d = of_find_all_nodes(d)); )
7
{...
8
? return e;
9
+ of_node_put(d);
10
...}
11
12
@r1@
13
identifier d;
14
expression e;
15
@@
16
17
for (d = NULL; (d = something(d)); )
18
{...
19
+ of_node_put(d);
20
? return e;
21
...}