From: gregkh@linuxfoundation.org (Greg KH)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] binder: fix "cast to pointer from integer of different size" warning
Date: Mon, 18 Sep 2017 16:02:14 +0200 [thread overview]
Message-ID: <20170918140214.GA21714@kroah.com> (raw)
In-Reply-To: <20170904051740.2636-1-jszhang@marvell.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <gregkh@linuxfoundation.org>
To: Jisheng Zhang <jszhang@marvell.com>
Cc: arve@android.com, riandrews@android.com,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] binder: fix "cast to pointer from integer of different size" warning
Date: Mon, 18 Sep 2017 16:02:14 +0200 [thread overview]
Message-ID: <20170918140214.GA21714@kroah.com> (raw)
In-Reply-To: <20170904051740.2636-1-jszhang@marvell.com>
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
next prev parent reply other threads:[~2017-09-18 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-04 5:17 [PATCH] binder: fix "cast to pointer from integer of different size" warning Jisheng Zhang
2017-09-04 5:17 ` Jisheng Zhang
2017-09-18 14:02 ` Greg KH [this message]
2017-09-18 14:02 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170918140214.GA21714@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.