lkml.org 
[lkml]   [2017]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] binder: fix "cast to pointer from integer of different size" warning
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 <jszhang@marvell.com>
> ---
> 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

\
 
 \ /
  Last update: 2017-09-18 16:03    [W:0.031 / U:2.688 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site