[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131115155822.GN26614@sirena.org.uk>
Date: Fri, 15 Nov 2013 15:58:22 +0000
From: Mark Brown <broonie@...nel.org>
To: Geyslan Gregório Bem <geyslan@...il.com>
Cc: levex@...ux.com, Caizhiyong <caizhiyong@...ilicon.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Wanglin (Albert)" <albert.wanglin@...ilicon.com>,
Levente Kurusa <ilevex.linux@...il.com>
Subject: Re: [PATCH] regmap: Fix 'ret' would return an uninitialized value
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.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists