diff options
author | Bojan Prtvar <prtvar.b@gmail.com> | 2013-09-01 20:30:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-17 07:47:39 -0700 |
commit | 308fbd8ac0b0078dba29cad027e5b454aac13a6a (patch) | |
tree | 04fd4fd94b3907807529b126a92751a5aad6686d /drivers/staging/android | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) | |
download | linux-308fbd8ac0b0078dba29cad027e5b454aac13a6a.tar.bz2 |
Staging: android: add __user annotation in binder.c
This fixes the following sparse error
drivers/staging/android/binder.c:1795:36: error: incompatible types in comparison expression (different address spaces)
Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/binder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index 98ac020bf912..19e6ba618f83 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c @@ -1773,7 +1773,7 @@ int binder_thread_write(struct binder_proc *proc, struct binder_thread *thread, case BC_INCREFS_DONE: case BC_ACQUIRE_DONE: { void __user *node_ptr; - void *cookie; + void __user *cookie; struct binder_node *node; if (get_user(node_ptr, (void * __user *)ptr)) |