diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-10-31 06:59:14 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-31 06:59:14 -0700 |
| commit | 508ca01d9d7a655a4e59e698a0f2a193e5335939 (patch) | |
| tree | 723d474c315e7fe493909c1cdbd7d9cfc37da3d9 | |
| parent | fd077623a3bfbc818eba5aebb5733c529226f963 (diff) | |
| parent | 1a8a029dcabad06760a545902f9f9f9db14825dd (diff) | |
Merge "msm: ADSPRPC: Do not pass offset for secure buffers"
| -rw-r--r-- | drivers/char/adsprpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index 67c1207d35be..ef8aaac6e0a2 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -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, |
