The dma_alloc_coherent return an "void *" not an "void __iomen *".
It uses the wrong parameters when calls dma_free_coherent function.
The sparse tool output logs as the following:
coresight-tmc.c:199:23:expected void *
coresight-tmc.c:199:23:got void [noderef] *vaddr
The dma_alloc_coherent return an "void *" not an "void __iomen *".
It uses the wrong parameters when calls dma_free_coherent function.
The sparse tool output logs as the following:
coresight-tmc.c:199:23:expected void *
coresight-tmc.c:199:23:got void [noderef] *vaddr
2 matches
Mail list logo