1. 14 3月, 2008 2 次提交
    • Z
      dmaengine: Fix a bug about BUG_ON() on DMA engine capability DMA_INTERRUPT. · 9b941c66
      Zhang Wei 提交于
      The device->device_prep_dma_interrupt function is used by
      DMA_INTERRUPT capability, not DMA_ZERO_SUM.
      Signed-off-by: NZhang Wei <wei.zhang@freescale.com>
      Acked-by: NMaciej Sosnowski <maciej.sosnowski@intel.com>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      9b941c66
    • Z
      fsldma: Fix fsldma.c warning messages when it's compiled under PPC64. · 56822843
      Zhang Wei 提交于
      There are warning messages reported by Stephen Rothwell with
      ARCH=powerpc allmodconfig build:
      
      drivers/dma/fsldma.c: In function 'fsl_dma_prep_memcpy':
      drivers/dma/fsldma.c:439: warning: comparison of distinct pointer types
      lacks a cast
      drivers/dma/fsldma.c: In function 'fsl_chan_xfer_ld_queue':
      drivers/dma/fsldma.c:584: warning: format '%016llx' expects type 'long long
      unsigned int', but argument 4 has type 'dma_addr_t'
      drivers/dma/fsldma.c: In function 'fsl_dma_chan_do_interrupt':
      drivers/dma/fsldma.c:668: warning: format '%x' expects type 'unsigned int',
      but argument 5 has type 'dma_addr_t'
      drivers/dma/fsldma.c:684: warning: format '%016llx' expects type 'long long
      unsigned int', but argument 4 has type 'dma_addr_t'
      drivers/dma/fsldma.c:684: warning: format '%016llx' expects type 'long long
      unsigned int', but argument 5 has type 'dma_addr_t'
      drivers/dma/fsldma.c:701: warning: format '%02x' expects type 'unsigned
      int', but argument 4 has type 'dma_addr_t'
      drivers/dma/fsldma.c: In function 'fsl_dma_self_test':
      drivers/dma/fsldma.c:840: warning: format '%d' expects type 'int', but
      argument 5 has type 'size_t'
      drivers/dma/fsldma.c: In function 'of_fsl_dma_probe':
      drivers/dma/fsldma.c:1010: warning: format '%08x' expects type 'unsigned
      int', but argument 5 has type 'resource_size_t'
      
      This patch fixed the above warning messages.
      Signed-off-by: NZhang Wei <wei.zhang@freescale.com>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      56822843
  2. 13 3月, 2008 23 次提交
  3. 12 3月, 2008 15 次提交