Re: [PATCH] video: ocfb: Fix data type warning

2015-01-13 Thread Tomi Valkeinen
On 05/12/14 10:18, Qiang Chen wrote: > When allocate framebuffer memory using dma_alloc_coherent(), > we'd better use dma_addr_t instead of phys_addr_t. Because the > address we got in fact is DMA or bus address for the platform. > > This patch also fixes below build warning: > drivers/video/fbdev

Re: [PATCH] video: ocfb: Fix data type warning

2014-12-06 Thread Stefan Kristiansson
On Fri, Dec 05, 2014 at 04:18:30PM +0800, Qiang Chen wrote: > When allocate framebuffer memory using dma_alloc_coherent(), > we'd better use dma_addr_t instead of phys_addr_t. Because the > address we got in fact is DMA or bus address for the platform. > > This patch also fixes below build warning

[PATCH] video: ocfb: Fix data type warning

2014-12-05 Thread Qiang Chen
When allocate framebuffer memory using dma_alloc_coherent(), we'd better use dma_addr_t instead of phys_addr_t. Because the address we got in fact is DMA or bus address for the platform. This patch also fixes below build warning: drivers/video/fbdev/ocfb.c:335:2: warning: passing argument