> The wrappers in include/linux/pci-dma-compat.h should 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? … >@@ > expression e1, e2, e3; > @@ > - 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