Re: [PATCH] regmap: Fix 'ret' would return an uninitialized value

Mark Brown
2013-11-15T15:58:34Z

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

On Fri, Nov 15, 2013 at 01:52:19PM -0200, Geyslan Gregório Bem wrote:

> + if (WARN_ONCE(num_regs <= 0, "number of registers [%d] must be
> major than 0", num_regs))
> + return 0;

"must be more than" but yes.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]