Tag: 88b09a6d958af6c458acf055ee2eb5bc9564efda

3c59x: fix bad split of cpu_to_le32(pci_map_single())

Author: Sylvain “ythier” Hitier <sylvain.hitier@gmail.com> In commit 6f2b6a3005b2c34c39f207a87667564f64f2f91a, # 3c59x: Add dma error checking and recovery the intent is to split out the mapping from the byte-swapping in order to insert a dma_mapping_error() check. Kinda this semantic patch: // See http://coccinelle.lip6.fr/ // // Beware, grouik-and-dirty! @@ expression DEV, X, Y, Z; @@ – cpu_to_le32(pci_map_single(DEV, X, …

Continue reading