From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Date: Sun, 10 Jul 2016 01:50:08 +0000 Subject: Re: [patch] mtd: silence some uninitialized variable warnings Message-Id: <20160710015008.GA7547@localhost> List-Id: References: <20160413064234.GE8092@mwanda> In-Reply-To: <20160413064234.GE8092@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Kyungmin Park , David Woodhouse , linux-mtd@lists.infradead.org, kernel-janitors@vger.kernel.org On Wed, Apr 13, 2016 at 09:42:34AM +0300, Dan Carpenter wrote: > The "tmp_retlen" variable can be uninitialized if action() fails. It's > harmless except for the static checker warning. I have moved the error > handling earlier to fix it. > > Signed-off-by: Dan Carpenter Applied to l2-mtd.git