On Tue, Jan 10, 2017 at 05:23:40PM +0800, Jun Nie wrote: > 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] Applied, thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html