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.3rc3
[bpt/coccinelle.git]
/
parsing_cocci
/
tests
/
26.cocci
Commit
Line
Data
34e49164
C
1
@@
2
expression A, B;
3
statement S;
4
@@
5
6
- if (!pci_dma_supported(A,B)) S
7
- pci_set_dma_mask(A,B);
8
+ if (pci_set_dma_mask(A,B) < 0 || pci_set_consistent_dma_mask(A,B) < 0) S