HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Release coccinelle-0.2.0
[bpt/coccinelle.git]
/
tests
/
type_annotated_fields.cocci
Commit
Line
Data
34e49164
C
1
@@
2
struct sk_buff *skb;
3
@@
4
5
// and not
6
// @@
7
// expression skb;
8
// @@
9
10
11
(
12
- &(skb->pkt_type)
13
+ &bt_cb(skb)->pkt_type
14
|
15
- skb->pkt_type
16
+ bt_cb(skb)->pkt_type
17
)