summaryrefslogtreecommitdiff
path: root/drivers/watchdog/omap_wdt.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-12-07 13:24:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 17:30:03 +0100
commit9a0a930fe2535a76ad70d3f43caeccf0d86a3009 (patch)
tree3ecc835713ad0a98d7d49857f4929a5b3fa20207 /drivers/watchdog/omap_wdt.h
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 <tkjos@google.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20211207122448.1185769-1-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/omap_wdt.h')
0 files changed, 0 insertions, 0 deletions