diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-02 03:10:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-02 03:10:45 +0300 |
commit | 3e66848a3249105fe4973b0550b5b6cd42240168 (patch) | |
tree | 3ff7bbcf2a476291f5536ea09b256c541c4456f3 /drivers/android/binder.c | |
parent | 2cda64cf6998a1d10961f69e2ac79c69b6d37795 (diff) | |
parent | fc77dbd34c5c99bce46d40a2491937c3bcbd10af (diff) | |
download | linux-3e66848a3249105fe4973b0550b5b6cd42240168.tar.xz |
Merge 4.5-rc6 into staging-next
We want the staging fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder.c')
-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 796301a7c4fb..16288e777ec3 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -2081,7 +2081,7 @@ static int binder_thread_write(struct binder_proc *proc, if (get_user(cookie, (binder_uintptr_t __user *)ptr)) return -EFAULT; - ptr += sizeof(void *); + ptr += sizeof(cookie); list_for_each_entry(w, &proc->delivered_death, entry) { struct binder_ref_death *tmp_death = container_of(w, struct binder_ref_death, work); |