Re: [PATCH] regmap: silence GCC warning

From: Mark Brown
Date: Sat Oct 06 2012 - 04:53:03 EST


On Fri, Oct 05, 2012 at 06:20:44PM -0400, Valdis.Kletnieks@xxxxxx wrote:
> On Wed, 03 Oct 2012 09:23:36 +0200, Paul Bolle said:

> > That is another way to silence GCC here.

> That's probably a preferable approach - that way, if a bogus val_count gets
> passed in, the caller will be informed of the fact. Which is a lot better than
> just papering over the warning.

As I hinted earlier if someone were to send me a patch...
--
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/