Re: [PATCH 2/3] [media] venus: don't abuse dma_alloc for non-DMA allocations

2017-06-27 Thread Arnd Bergmann
On Tue, Jun 27, 2017 at 9:39 PM, Stanimir Varbanov wrote: > Hi Arnd, > > On 27.06.2017 18:02, Arnd Bergmann wrote: >> >> In venus_boot(), we pass a pointer to a phys_addr_t >> into dmam_alloc_coherent, which the compiler warns about: >> >> platform/qcom/venus/firmware.c: In function 'venus_boot':

Re: [PATCH 2/3] [media] venus: don't abuse dma_alloc for non-DMA allocations

2017-06-27 Thread Stanimir Varbanov
Hi Arnd, On 27.06.2017 18:02, Arnd Bergmann wrote: In venus_boot(), we pass a pointer to a phys_addr_t into dmam_alloc_coherent, which the compiler warns about: platform/qcom/venus/firmware.c: In function 'venus_boot': platform/qcom/venus/firmware.c:63:49: error: passing argument 3 of 'dmam_al

[PATCH 2/3] [media] venus: don't abuse dma_alloc for non-DMA allocations

2017-06-27 Thread Arnd Bergmann
In venus_boot(), we pass a pointer to a phys_addr_t into dmam_alloc_coherent, which the compiler warns about: platform/qcom/venus/firmware.c: In function 'venus_boot': platform/qcom/venus/firmware.c:63:49: error: passing argument 3 of 'dmam_alloc_coherent' from incompatible pointer type [-Werror