From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Jayachandran C <jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Peter Korsgaard <jacmet-OfajU3CKLf1/SzgSGea1oA@public.gmane.org>
Subject: Re: [PATCH] i2c: ocores: Fix pointer to integer cast warning
Date: Thu, 21 Feb 2013 10:37:09 +0100 [thread overview]
Message-ID: <20130221093709.GB22806@the-dreams.de> (raw)
In-Reply-To: <1361259199-24709-1-git-send-email-jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
On Tue, Feb 19, 2013 at 01:03:19PM +0530, Jayachandran C wrote:
> After commit a000b8c1 [i2c: ocores: Add support for the GRLIB port of the
> controller and use function pointers for getreg and setreg function],
> compiling i2c-ocores.c for 64-bit gives the following warning:
>
> drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe':
> drivers/i2c/busses/i2c-ocores.c:334:15: warning: cast from pointer to integer of different size
>
> Fix it by casting the pointer to long.
>
> Signed-off-by: Jayachandran C <jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Applied, thanks!
prev parent reply other threads:[~2013-02-21 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 7:33 [PATCH] i2c: ocores: Fix pointer to integer cast warning Jayachandran C
[not found] ` <1361259199-24709-1-git-send-email-jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2013-02-19 8:31 ` Peter Korsgaard
[not found] ` <87liakiu20.fsf-D6SC8u56vOOJDPpyT6T3/w@public.gmane.org>
2013-02-19 13:05 ` Andreas Larsson
2013-02-21 9:37 ` Wolfram Sang [this message]
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=20130221093709.GB22806@the-dreams.de \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=jacmet-OfajU3CKLf1/SzgSGea1oA@public.gmane.org \
--cc=jchandra-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox