HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
permit multiline comments and strings in macros
[bpt/coccinelle.git]
/
demos
/
usb_submit_urb.cocci
1
@@
2
expression lock, flags;
3
expression urb;
4
@@
5
6
spin_lock_irqsave(lock, flags);
7
<...
8
- usb_submit_urb(urb)
9
+ usb_submit_urb(urb, GFP_ATOMIC)
10
...>
11
spin_unlock_irqrestore(lock, flags);
12
13
@@
14
expression urb;
15
@@
16
17
- usb_submit_urb(urb)
18
+ usb_submit_urb(urb, GFP_KERNEL)