* [PATCH]pci_dma_mapping_error changes
@ 2008-09-18 5:12 Marin Mitov
2008-09-18 14:06 ` FUJITA Tomonori
2008-09-18 16:11 ` Jeff Garzik
0 siblings, 2 replies; 4+ messages in thread
From: Marin Mitov @ 2008-09-18 5:12 UTC (permalink / raw)
To: linux-kernel
Make the example code consistent with changed API.
Signed-off-by: Marin Mitov <mitov@ispp.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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH]pci_dma_mapping_error changes
2008-09-18 5:12 [PATCH]pci_dma_mapping_error changes Marin Mitov
@ 2008-09-18 14:06 ` FUJITA Tomonori
2008-09-18 16:11 ` Jeff Garzik
1 sibling, 0 replies; 4+ messages in thread
From: FUJITA Tomonori @ 2008-09-18 14:06 UTC (permalink / raw)
To: mitov; +Cc: linux-kernel
On Thu, 18 Sep 2008 08:12:25 +0300
Marin Mitov <mitov@issp.bas.bg> wrote:
> Make the example code consistent with changed API.
Thanks,
> Signed-off-by: Marin Mitov <mitov@ispp.bas.bg>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
>
> ===================================================
> --- 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH]pci_dma_mapping_error changes
2008-09-18 5:12 [PATCH]pci_dma_mapping_error changes Marin Mitov
2008-09-18 14:06 ` FUJITA Tomonori
@ 2008-09-18 16:11 ` Jeff Garzik
2008-09-23 21:26 ` Jesse Barnes
1 sibling, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2008-09-18 16:11 UTC (permalink / raw)
To: Marin Mitov; +Cc: linux-kernel, Jesse Barnes
Marin Mitov wrote:
> Make the example code consistent with changed API.
>
> Signed-off-by: Marin Mitov <mitov@ispp.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@redhat.com>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH]pci_dma_mapping_error changes
2008-09-18 16:11 ` Jeff Garzik
@ 2008-09-23 21:26 ` Jesse Barnes
0 siblings, 0 replies; 4+ messages in thread
From: Jesse Barnes @ 2008-09-23 21:26 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Marin Mitov, linux-kernel
On Thursday, September 18, 2008 9:11 am Jeff Garzik wrote:
> Make the example code consistent with changed API.
>
> Acked-by: Jeff Garzik <jgarzik@redhat.com>
> Signed-off-by: Marin Mitov <mitov@ispp.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
>
Applied to linux-next, thanks.
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-09-23 21:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-18 5:12 [PATCH]pci_dma_mapping_error changes Marin Mitov
2008-09-18 14:06 ` FUJITA Tomonori
2008-09-18 16:11 ` Jeff Garzik
2008-09-23 21:26 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox