]> www.infradead.org Git - linux.git/commit
dmaengine: mxs: Use %zu for printing a size_t variable
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 11 Jun 2017 15:03:11 +0000 (12:03 -0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 15 Jun 2017 04:14:45 +0000 (09:44 +0530)
commit4aff2f9355a0b4480e56b7e349fec69f17e45eb9
treeec603855bb74a009eae62cf4d14edb4b3a250bc0
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
dmaengine: mxs: Use %zu for printing a size_t variable

Use %zu for printing a size_t variable in order to fix the following
build warning:

drivers/dma/mxs-dma.c: In function 'mxs_dma_prep_dma_cyclic':
drivers/dma/mxs-dma.c:621:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c