Re: [PATCH v2] regmap: silence GCC warning

2012-10-12 Thread Mark Brown
On Mon, Oct 08, 2012 at 10:06:30PM +0200, Paul Bolle wrote: > Long story short: Jakub Jelinek pointed out that there is a type > mismatch between 'num' in regmap_volatile_range() and 'val_count' in > regmap_raw_read(). And indeed, converting 'num' to the type of > 'val_count' (ie, size_t) makes

Re: [PATCH v2] regmap: silence GCC warning

2012-10-12 Thread Mark Brown
On Mon, Oct 08, 2012 at 10:06:30PM +0200, Paul Bolle wrote: Long story short: Jakub Jelinek pointed out that there is a type mismatch between 'num' in regmap_volatile_range() and 'val_count' in regmap_raw_read(). And indeed, converting 'num' to the type of 'val_count' (ie, size_t) makes this