merged.

Bruce

In message: [linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-s32g2xx & 
v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g2xx][PATCH] 
kernel/dma/coherent.c: fix compile error
on 23/02/2024 Li Wang wrote:

> kernel/dma/coherent.c: error: passing argument 1 of 
> 'dma_release_coherent_memory'
> from incompatible pointer type [-Werror=incompatible-pointer-types]
> 
> Signed-off-by: Li Wang <li.w...@windriver.com>
> ---
>  kernel/dma/coherent.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
> index 9ee5f6a2c385..c1c2c737e6ab 100644
> --- a/kernel/dma/coherent.c
> +++ b/kernel/dma/coherent.c
> @@ -146,7 +146,7 @@ void dma_release_declared_memory(struct device *dev)
>  
>       if (!mem)
>               return;
> -     dma_release_coherent_memory(mem);
> +     _dma_release_coherent_memory(mem);
>       dev->dma_mem = NULL;
>  }
>  EXPORT_SYMBOL(dma_release_declared_memory);
> -- 
> 2.31.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13616): 
https://lists.yoctoproject.org/g/linux-yocto/message/13616
Mute This Topic: https://lists.yoctoproject.org/mt/104522930/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to