Merge "msm: ADSPRPC: Do not pass offset for secure buffers"
This commit is contained in:
commit
508ca01d9d
1 changed files with 1 additions and 1 deletions
|
@ -1070,7 +1070,7 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx)
|
|||
int idx = list[i].pgidx;
|
||||
|
||||
if (map->attr & FASTRPC_ATTR_NOVA) {
|
||||
offset = (uintptr_t)lpra[i].buf.pv;
|
||||
offset = 0;
|
||||
} else {
|
||||
down_read(¤t->mm->mmap_sem);
|
||||
VERIFY(err, NULL != (vma = find_vma(current->mm,
|
||||
|
|
Loading…
Add table
Reference in a new issue