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

Geyslan Gregório Bem
2013-11-15T16:09:35Z

2013/11/15 Mark Brown <broonie@kernel.org>:
> 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.

Tks. Sorry for my poor english. :D

--
Regards,

Geyslan G. Bem
hackingbits.com