Re: [PATCH] dmaengine: zx: fix build warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux