Thread (2 messages) 2 messages, 2 authors, 2017-09-18

[PATCH] binder: fix "cast to pointer from integer of different size" warning

From: gregkh@linuxfoundation.org (Greg KH)
Date: 2017-09-18 14:02:05
Also in: lkml

On Mon, Sep 04, 2017 at 01:17:40PM +0800, Jisheng Zhang wrote:
The binder driver now could cause warnings as below on 32bit platforms
if ANDROID_BINDER_IPC_32BIT is unselected:

drivers/android/binder.c:1550:15: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]

This patch fix all of them.

Signed-off-by: Jisheng Zhang <redacted>
---
 drivers/android/binder.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
Arnd sent in a patch for this issue right after you did, that was
smaller, so I'll take his version.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help