summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2017-01-10 17:23:40 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-25 11:05:53 +0100
commitc5d98b6400263309b9208a63ee3d273f730ef80f (patch)
tree8bb52caf3b596fa24253e77398aaa43faed5fb35 /arch
parentfb0519fb37e9c59e31393e5cf6c94d71261f25bd (diff)
dmaengine: zx: fix build warning
commit 067fdeb2f391bfa071f741a2b3eb74b8ff3785cd upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions