]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drivers: android: correct the size of struct binder_uintptr_t for BC_DEAD_BINDER_DONE
authorLisa Du <cldu@marvell.com>
Wed, 17 Feb 2016 01:32:52 +0000 (09:32 +0800)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:22:28 +0000 (10:22 +0100)
commite63f28a455ac6d9aa6da68068bc15259dc33b3db
treeec44cb7d724d571568d5e41679b26b84d5784ce1
parent79a1dd8e6339b9ca190f53946234470c7acdf167
drivers: android: correct the size of struct binder_uintptr_t for BC_DEAD_BINDER_DONE

BugLink: http://bugs.launchpad.net/bugs/1553179
commit 7a64cd887fdb97f074c3fda03bee0bfb9faceac3 upstream.

There's one point was missed in the patch commit da49889deb34 ("staging:
binder: Support concurrent 32 bit and 64 bit processes."). When configure
BINDER_IPC_32BIT, the size of binder_uintptr_t was 32bits, but size of
void * is 64bit on 64bit system. Correct it here.

Signed-off-by: Lisa Du <cldu@marvell.com>
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Fixes: da49889deb34 ("staging: binder: Support concurrent 32 bit and 64 bit processes.")
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/android/binder.c