[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160621184251.GC28202@sirena.org.uk>
Date: Tue, 21 Jun 2016 19:42:51 +0100
From: Mark Brown <broonie@...nel.org>
To: Crestez Dan Leonard <leonard.crestez@...el.com>
Cc: linux-spi@...r.kernel.org, Wolfram Sang <wsa@...-dreams.de>,
linux-i2c@...r.kernel.org, Jonathan Cameron <jic23@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] regmap: Add regmap_pipe_read API
On Thu, Jun 16, 2016 at 06:24:36PM +0300, Crestez Dan Leonard wrote:
> + val = ((u8*)val) + read_len;
This cast looks broken, you should be able to do pointer arithmetic on
void pointers as though they were char *.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists