From: Jonathan Cameron <jic23@kernel.org>
To: Simon Horman <horms@verge.net.au>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Marek Vasut <marek.vasut+renesas@gmail.com>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
linux-iio@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/3] iio: adc: rcar-gyroadc: Cast pointer to uintptr_t to fix warning on 64-bit
Date: Sat, 7 Oct 2017 12:17:34 +0100 [thread overview]
Message-ID: <20171007121734.0328cf9d@archlinux> (raw)
In-Reply-To: <20171005091150.GI26369@verge.net.au>
On Thu, 5 Oct 2017 11:11:51 +0200
Simon Horman <horms@verge.net.au> wrote:
> On Wed, Oct 04, 2017 at 02:08:24PM +0200, Geert Uytterhoeven wrote:
> > On 64-bit:
> >
> > drivers/iio/adc/rcar-gyroadc.c: In function 'rcar_gyroadc_parse_subdevs':
> > drivers/iio/adc/rcar-gyroadc.c:352:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> > childmode = (unsigned int)of_id->data;
> > ^
> >
> > Cast the pointer to uintptr_t instead of unsigned int to fix this.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Applied to the togreg branch of iio.git and pushed out as testing for the
autobuilders to play with it.
Thanks,
Jonathan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-10-07 11:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 12:08 [PATCH 0/3] iio: adc: rcar-gyroadc: Misc improvements Geert Uytterhoeven
2017-10-04 12:08 ` [PATCH 1/3] iio: adc: rcar-gyroadc: Cast pointer to uintptr_t to fix warning on 64-bit Geert Uytterhoeven
2017-10-05 9:11 ` Simon Horman
2017-10-07 11:17 ` Jonathan Cameron [this message]
2017-10-04 12:08 ` [PATCH 2/3] iio: adc: rcar-gyroadc: Enable compile-testing on non-ARM Geert Uytterhoeven
2017-10-05 9:12 ` Simon Horman
2017-10-07 11:19 ` Jonathan Cameron
2017-10-04 12:08 ` [PATCH 3/3] iio: adc: rcar-gyroadc: Use of_device_get_match_data() helper Geert Uytterhoeven
2017-10-05 9:12 ` Simon Horman
2017-10-07 11:20 ` Jonathan Cameron
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=20171007121734.0328cf9d@archlinux \
--to=jic23@kernel.org \
--cc=geert+renesas@glider.be \
--cc=horms@verge.net.au \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=marek.vasut+renesas@gmail.com \
--cc=pmeerw@pmeerw.net \
/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;
as well as URLs for NNTP newsgroup(s).