From: Jeff Garzik <jeff@garzik.org>
To: Marin Mitov <mitov@issp.bas.bg>
Cc: linux-kernel@vger.kernel.org, Jesse Barnes <jbarnes@virtuousgeek.org>
Subject: Re: [PATCH]pci_dma_mapping_error changes
Date: Thu, 18 Sep 2008 12:11:11 -0400 [thread overview]
Message-ID: <48D27D9F.7090103@garzik.org> (raw)
In-Reply-To: <200809180812.25143.mitov@issp.bas.bg>
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>
next prev parent reply other threads:[~2008-09-18 16:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2008-09-23 21:26 ` Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48D27D9F.7090103@garzik.org \
--to=jeff@garzik.org \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mitov@issp.bas.bg \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.