[patch] mtd: silence some uninitialized variable warnings

Brian Norris computersforpeace at gmail.com
Sat Jul 9 18:50:08 PDT 2016


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 <dan.carpenter at oracle.com>

Applied to l2-mtd.git



More information about the linux-mtd mailing list