lkml.org 
[lkml]   [2008]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH]pci_dma_mapping_error changes
    From
    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/


    \
     
     \ /
      Last update: 2008-09-18 16:09    [W:0.063 / U:30.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site