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 <[email protected]> --- 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 (#12012): https://lists.yoctoproject.org/g/linux-yocto/message/12012 Mute This Topic: https://lists.yoctoproject.org/mt/95554193/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
