pci_dma_mapping_error changes
PATCH 1/1 pci_dma_mapping_error changes
Make the example code consistent with changed API.
===================================================
Documentation/DMA-mapping.txt +1 -1
@@ -740,7 +740,7 @@ failure can be determined by: dma_addr_t dma_handle; dma_handle = pci_map_single(pdev, addr, size, direction); - if (pci_dma_mapping_error(dma_handle)) { + if (pci_dma_mapping_error(pdev, dma_handle)) { /* * reduce current DMA mapping usage, * delay and try again later or
Quoted 1 line · On Thu, 18 Sep 2008 08:12:25 +0300 Marin Mitov <[email protected]> wrote:
Make the example code consistent with changed API.
Thanks,
Quoted 1 line
Signed-off-by Marin Mitov <[email protected]>
Quoted 18 lines
===================================================
Documentation/DMA-mapping.txt +1
-2@@ -740,7 +740,7 @@ failure can be determined by: dma_addr_t dma_handle; dma_handle = pci_map_single(pdev, addr, size, direction); - if (pci_dma_mapping_error(dma_handle)) { + if (pci_dma_mapping_error(pdev, dma_handle)) { /* * reduce current DMA mapping usage, * delay and try again later or --To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 8 lines · Marin Mitov
Make the example code consistent with changed API.
Signed-off-by Marin Mitov <[email protected]>===================================================
Documentation/DMA-mapping.txt failure can be determined by: · line 746
Quoted 8 lines
Documentation/DMA-mapping.txt +1
-1@@ -740,7 +740,7 @@ failure can be determined by: dma_addr_t dma_handle; dma_handle = pci_map_single(pdev, addr, size, direction); - if (pci_dma_mapping_error(dma_handle)) { + if (pci_dma_mapping_error(pdev, dma_handle)) { /* * reduce current DMA mapping usage, * delay and try again later or
Jesse Barnes
AppliedQuoted 10 lines · Jeff Garzik
Make the example code consistent with changed API.
Acked-by Jeff Garzik <[email protected]>Signed-off-by Marin Mitov <[email protected]>===================================================
Documentation/DMA-mapping.txt failure can be determined by: · line 746
Quoted 8 lines
Documentation/DMA-mapping.txt +1
-1@@ -740,7 +740,7 @@ failure can be determined by: dma_addr_t dma_handle; dma_handle = pci_map_single(pdev, addr, size, direction); - if (pci_dma_mapping_error(dma_handle)) { + if (pci_dma_mapping_error(pdev, dma_handle)) { /* * reduce current DMA mapping usage, * delay and try again later or
Applied to linux-next, thanks.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center