[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150812105758.GU10748@sirena.org.uk>
Date: Wed, 12 Aug 2015 11:57:58 +0100
From: Mark Brown <broonie@...nel.org>
To: Markus Pargmann <mpa@...gutronix.de>
Cc: Jonathan Cameron <jic23@...nel.org>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, kernel@...gutronix.de,
Stephen Boyd <sboyd@...eaurora.org>
Subject: Re: [PATCH 02/20] regmap: Remove regmap_bulk_write 64bit support
On Wed, Aug 12, 2015 at 12:44:36PM +0200, Markus Pargmann wrote:
> I wasn't aware that any 64 bit architecture actually has unsigned ints
> that are 64 bit in size. So wouldn't at least on x86_64 this would lead
> to a compiler warning as unsigned int is 4 byte and u64 8 bytes?
Nobody complained about warnings yet. The compiler probably shouldn't
be complaining given the casts, they're supposed to be an "I know what
I'm doing" thing. If you want to change something here it's changing
the test to be based on sizeof(unsigned int).
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists