lkml.org 
[lkml]   [2013]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] regmap: Fix 'ret' would return an uninitialized value
    From
    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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-11-15 18:01    [W:3.413 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site