2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/drivers/dma
Zhang Wei 56822843ff fsldma: Fix fsldma.c warning messages when it's compiled under PPC64.
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: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-03-13 10:57:07 -07:00
..
dmaengine.c async_tx: kill tx_set_src and tx_set_dest methods 2008-02-06 10:12:17 -07:00
fsldma.c fsldma: Fix fsldma.c warning messages when it's compiled under PPC64. 2008-03-13 10:57:07 -07:00
fsldma.h dmaengine: add driver for Freescale MPC85xx DMA controller 2008-03-04 10:16:46 -07:00
ioat_dca.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioat_dma.c ioat: fix 'ack' handling, driver must ensure that 'ack' is zero 2008-03-04 10:16:46 -07:00
ioat.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_hw.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_registers.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma.h I/OAT: fixups from code comments 2007-12-17 19:28:17 -08:00
iop-adma.c async_tx: replace 'int_en' with operation preparation flags 2008-02-06 10:12:18 -07:00
iovlock.c [NET_DMA]: remove unused dma_memcpy_to_kernel_iovec 2007-07-31 02:28:03 -07:00
Kconfig dmaengine: add driver for Freescale MPC85xx DMA controller 2008-03-04 10:16:46 -07:00
Makefile dmaengine: add driver for Freescale MPC85xx DMA controller 2008-03-04 10:16:46 -07:00