Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 567df5e9 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: ep93xx: use correct print specifiers for size_t



This driver warns:

drivers/dma/ep93xx_dma.c: In function 'ep93xx_dma_prep_slave_sg':
drivers/dma/ep93xx_dma.c:1054:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]

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

We should use %zu to print 'size_t' values.

Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 6947c3f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment