dmaengine: imx-sdma: Fix compilation warning.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 24 May 2017 06:49:06 +0000 (12:19 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 30 May 2017 06:22:58 +0000 (11:52 +0530)
commitba6ab3b359c86a762f621de8fc6ba5a229aef23f
treec5ea7337e89486f80f2d9f7934769f0e91e61e17
parentfb9caf370f4d0457789d13a1a1b110a8db846e5e
dmaengine: imx-sdma: Fix compilation warning.

Replace '%d' by '%zu' to fix the following compilation warning:-

drivers/dma/imx-sdma.c: In function ‘sdma_prep_dma_cyclic’:
drivers/dma/imx-sdma.c:1327:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
     channel, period_len, 0xffff);
     ^
drivers/dma/imx-sdma.c:1350:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
   dev_dbg(sdma->dev, "entry %d: count: %d dma: %#llx %s%s\n",

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c