[RFC 2/5] WIP: MIPS: implement dma mapping functions

2020-01-08 Thread Antony Pavlov
TODO: fix warnings arch/mips/include/asm/dma-mapping.h: In function ‘dma_free_coherent’: arch/mips/include/asm/dma-mapping.h:31:21: warning: passing argument 1 of ‘phys_to_virt’ makes integer from pointer without a cast [-Wint-conversion] free(phys_to_virt(vaddr)); ^ I

Re: [RFC 2/5] WIP: MIPS: implement dma mapping functions

2020-01-13 Thread Oleksij Rempel
On 09.01.20 08:28, Antony Pavlov wrote: TODO: fix warnings arch/mips/include/asm/dma-mapping.h: In function ‘dma_free_coherent’: arch/mips/include/asm/dma-mapping.h:31:21: warning: passing argument 1 of ‘phys_to_virt’ makes integer from pointer without a cast [-Wint-conversion] free(phys_

Re: [RFC 2/5] WIP: MIPS: implement dma mapping functions

2020-01-14 Thread Antony Pavlov
On Mon, 13 Jan 2020 09:26:36 +0100 Oleksij Rempel wrote: > On 09.01.20 08:28, Antony Pavlov wrote: > > TODO: fix warnings > > > > arch/mips/include/asm/dma-mapping.h: In function ‘dma_free_coherent’: > > arch/mips/include/asm/dma-mapping.h:31:21: warning: passing argument 1 of > > ‘phys_to_virt