Re: [RFC] regmap: Add regmap_pipe_read API

From: Mark Brown
Date: Tue Jun 21 2016 - 15:03:07 EST


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 *.

Attachment: signature.asc
Description: PGP signature