ARM: zImage: don't ignore error returned from decompress()
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 22 Apr 2011 01:59:49 +0000 (21:59 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 7 May 2011 04:08:01 +0000 (00:08 -0400)
commitccc1c7c6c25661f0071a7ebe997abcbf529df3e9
treea879518e3e9d70521d0ac1103ec3bbbd2a2b7aba
parente40f1e9fb342a2e38fae164861a8cff248ceb87b
ARM: zImage: don't ignore error returned from decompress()

If decompress() returns an error without calling error(), we must
not attempt to boot the resulting kernel.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/compressed/decompress.c
arch/arm/boot/compressed/misc.c