From: Dan Carpenter Date: Mon, 28 Jun 2010 18:34:24 +0000 (-0700) Subject: Input: lm8323 - fix error handling in lm8323_probe() X-Git-Tag: v2.6.36-rc1~581^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1796b983cc4cbbed5e9e478b03591609a2c21987;p=pandora-kernel.git Input: lm8323 - fix error handling in lm8323_probe() We reuse the "i" variable later on so if we goto fail3 or fail4 then "i" will be set to the wrong thing and cause a crash. Signed-off-by: Dan Carpenter Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed