Re: [PATCH v2] regmap: silence GCC warning

From: Mark Brown
Date: Fri Oct 12 2012 - 02:26:59 EST


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 warning go away.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/