RDMA/usnic: switch from 'pci_' to 'dma_' API
Subsystems (2)
Quoted 3 lines
The wrappers in
include/linux/pci-dma-compat.hshould go away.The patch has been generated with the coccinelle script bellow.
* I suggest to avoid a typo in a word at the sentence end.
* The script for the semantic patch language could be a bit nicer by the application of disjunctions instead of separate SmPL rules. Would you become interested in any further adjustments?
…
Review
Quoted 5 lines
@@
expression e1, e2, e3;
@@(quoted diff) +1
-1- pci_alloc_consistent(e1, e2, e3) + dma_alloc_coherent(&e1->dev, e2, e3, GFP_)
I find the last function parameter questionable. An other flag was specified in a corresponding diff hunk.
Regards,
Markus