Loading drivers/char/adsprpc.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2397,7 +2397,7 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) } } offset = buf_page_start(buf) - vma->vm_start; offset = buf_page_start(buf) - vma->vm_start; up_read(¤t->mm->mmap_sem); up_read(¤t->mm->mmap_sem); VERIFY(err, offset < (uintptr_t)map->size); VERIFY(err, offset + len <= (uintptr_t)map->size); if (err) { if (err) { ADSPRPC_ERR( ADSPRPC_ERR( "buffer address is invalid for the fd passed for %d address 0x%llx and size %zu\n", "buffer address is invalid for the fd passed for %d address 0x%llx and size %zu\n", Loading Loading
drivers/char/adsprpc.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2397,7 +2397,7 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) } } offset = buf_page_start(buf) - vma->vm_start; offset = buf_page_start(buf) - vma->vm_start; up_read(¤t->mm->mmap_sem); up_read(¤t->mm->mmap_sem); VERIFY(err, offset < (uintptr_t)map->size); VERIFY(err, offset + len <= (uintptr_t)map->size); if (err) { if (err) { ADSPRPC_ERR( ADSPRPC_ERR( "buffer address is invalid for the fd passed for %d address 0x%llx and size %zu\n", "buffer address is invalid for the fd passed for %d address 0x%llx and size %zu\n", Loading