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

From: Geyslan Gregório Bem
Date: Fri Nov 15 2013 - 11:09:38 EST


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