lkml.org 
[lkml]   [2009]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRE: [Patch net-next]atl1e:fix 2.6.31-git4 -- ATL1E 0000:03:00.0: DMA-API: device driver frees DMA
    On Wednesday, September 16, 2009 5:11 PM
    Daniel Walker <dwalker@fifo99.com> wrote:

    > On Wed, 2009-09-16 at 14:21 +0800, jie.yang@atheros.com wrote:
    > > - pci_unmap_page(pdev, tx_buffer->dma,
    > > + if (tx_buffer->flags & ATL1E_TX_PCIMAP_SINGLE)
    > > + pci_unmap_single(pdev, tx_buffer->dma,
    > > + tx_buffer->length, PCI_DMA_TODEVICE);
    > > + else if (tx_buffer->flags & ATL1E_TX_PCIMAP_PAGE)
    > > + pci_unmap_page(pdev, tx_buffer->dma,
    >
    > Could you run this through checkpatch, and fix any errors if
    > find? It looks like you uses spaces for tabs in the code
    > above, maybe in the other block too..
    >
    > Daniel
    >
    >

    ou, my mistake, just resend.

    Best wishes
    jie


    \
     
     \ /
      Last update: 2009-09-16 11:39    [W:0.022 / U:58.756 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site