[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48D27D9F.7090103@garzik.org>
Date: Thu, 18 Sep 2008 12:11:11 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Marin Mitov <mitov@...p.bas.bg>
CC: linux-kernel@...r.kernel.org,
Jesse Barnes <jbarnes@...tuousgeek.org>
Subject: Re: [PATCH]pci_dma_mapping_error changes
Marin Mitov wrote:
> Make the example code consistent with changed API.
>
> Signed-off-by: Marin Mitov <mitov@...p.bas.bg>
>
> ===================================================
> --- a/Documentation/DMA-mapping.txt 2008-09-14 11:34:48.000000000 +0300
> +++ b/Documentation/DMA-mapping.txt 2008-09-14 11:37:17.000000000 +0300
> @@ -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
Acked-by: Jeff Garzik <jgarzik@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists