aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-12-07 13:24:42 +0100
committerGreg Kroah-Hartman <[email protected]>2021-12-08 17:30:03 +0100
commit9a0a930fe2535a76ad70d3f43caeccf0d86a3009 (patch)
tree3ecc835713ad0a98d7d49857f4929a5b3fa20207 /include/uapi/linux
parent2925fc1c102943a2496e13ef78d68acd5fd0dc99 (diff)
binder: fix pointer cast warning
binder_uintptr_t is not the same as uintptr_t, so converting it into a pointer requires a second cast: drivers/android/binder.c: In function 'binder_translate_fd_array': drivers/android/binder.c:2511:28: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 2511 | sender_ufda_base = (void __user *)sender_uparent->buffer + fda->parent_offset; | ^ Fixes: 656e01f3ab54 ("binder: read pre-translated fds from sender buffer") Acked-by: Todd Kjos <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested Acked-by: Christian Brauner <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions