Release coccinelle-0.1.11rc1
[bpt/coccinelle.git] / tests / type_annotated_fields.cocci
CommitLineData
34e49164
C
1@@
2struct 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)