merged.

Bruce

In message: [linux-yocto][linux-yocto v5.15/standard/ti-sdk-5.10/ti-j72xx & 
v5.15/standard/preempt-rt/ti-sdk-5.10/ti-j72xx][PATCH]  remoteproc: core: 
correct missed parameters from function calls rproc_da_to_va()
on 09/12/2022 Xulin Sun wrote:

> To fix below building error:
> |drivers/remoteproc/remoteproc_core.c:724:28: error: too few arguments to 
> function 'rproc_da_to_va'
> |   724 |                 tmem->va = rproc_da_to_va(rproc, tmem->da, 
> tmem->len);
> |       |                            ^~~~~~~~~~~~~~
> |drivers/remoteproc/remoteproc_core.c:197:7: note: declared here
> |   197 | void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool 
> *is_iomem)
> |       |       ^~~~~~~~~~~~~~
> 
> Signed-off-by: Xulin Sun <xulin....@windriver.com>
> ---
>  drivers/remoteproc/remoteproc_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/remoteproc/remoteproc_core.c 
> b/drivers/remoteproc/remoteproc_core.c
> index 49c47f981bab..b945ca75fe1e 100644
> --- a/drivers/remoteproc/remoteproc_core.c
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -721,7 +721,7 @@ static int rproc_process_last_trace(struct rproc *rproc,
>       /* lookup trace va if not stored already */
>       tmem = &trace->trace_mem;
>       if (!tmem->va) {
> -             tmem->va = rproc_da_to_va(rproc, tmem->da, tmem->len);
> +             tmem->va = rproc_da_to_va(rproc, tmem->da, tmem->len, NULL);
>               if (!tmem->va)
>                       return -EINVAL;
>       }
> -- 
> 2.36.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12019): 
https://lists.yoctoproject.org/g/linux-yocto/message/12019
Mute This Topic: https://lists.yoctoproject.org/mt/95554193/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