summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2017-01-10 17:23:40 +0800
committerVinod Koul <vinod.koul@intel.com>2017-01-25 15:33:45 +0530
commit067fdeb2f391bfa071f741a2b3eb74b8ff3785cd (patch)
tree20992db4aa1cdceb72a8c7d12fa8513f1eef1d10 /firmware
parent156ae09245c4c49c8eb4a0898411ee260966331d (diff)
dmaengine: zx: fix build warning
Fix build warning that related to PAGE_SIZE. The maximum DMA length has nothing to do with PAGE_SIZE, just use a fix number for the definition. drivers/dma/zx_dma.c: In function 'zx_dma_prep_memcpy': drivers/dma/zx_dma.c:523:8: warning: division by zero [-Wdiv-by-zero] drivers/dma/zx_dma.c: In function 'zx_dma_prep_slave_sg': drivers/dma/zx_dma.c:567:11: warning: division by zero [-Wdiv-by-zero] Signed-off-by: Jun Nie <jun.nie@linaro.org> Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions