Commit c22f5a78 authored by Jeff Garzik's avatar Jeff Garzik

[libata] pci_dma_error() was renamed to pci_dma_mapping_error()

parent b9a68924
......@@ -1792,7 +1792,7 @@ static int ata_sg_setup_one(struct ata_queued_cmd *qc)
dma_address = pci_map_single(ap->host_set->pdev, cmd->request_buffer,
cmd->request_bufflen, dir);
if (pci_dma_error(dma_address))
if (pci_dma_mapping_error(dma_address))
return -1;
sg_dma_address(sg) = dma_address;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment