• Vinod Koul's avatar
    dmaengine: ep93xx: use correct print specifiers for size_t · 567df5e9
    Vinod Koul authored
    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>
    567df5e9
ep93xx_dma.c 37.3 KB