diff options
Diffstat (limited to 'drivers/android')
| -rw-r--r-- | drivers/android/binder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index a39e85f9efa9..7d00b7a015ea 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c | |||
| @@ -2074,7 +2074,7 @@ static int binder_thread_write(struct binder_proc *proc, | |||
| 2074 | if (get_user(cookie, (binder_uintptr_t __user *)ptr)) | 2074 | if (get_user(cookie, (binder_uintptr_t __user *)ptr)) |
| 2075 | return -EFAULT; | 2075 | return -EFAULT; |
| 2076 | 2076 | ||
| 2077 | ptr += sizeof(void *); | 2077 | ptr += sizeof(cookie); |
| 2078 | list_for_each_entry(w, &proc->delivered_death, entry) { | 2078 | list_for_each_entry(w, &proc->delivered_death, entry) { |
| 2079 | struct binder_ref_death *tmp_death = container_of(w, struct binder_ref_death, work); | 2079 | struct binder_ref_death *tmp_death = container_of(w, struct binder_ref_death, work); |
| 2080 | 2080 | ||
