From: Phillip Lougher Date: Mon, 14 Dec 2009 21:45:19 +0000 (+0000) Subject: initramfs: add missing decompressor error check X-Git-Tag: v2.6.33-rc2~47^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54291362d2a5738e1b0495df2abcb9e6b0563a3f;p=pandora-kernel.git initramfs: add missing decompressor error check The decompressors return error by calling a supplied error function, and/or by returning an error return value. The initramfs code, however, fails to check the exit code returned by the decompressor, and only checks the error status set by calling the error function. This patch adds a return code check and calls the error function. Signed-off-by: Phillip Lougher LKML-Reference: <4b26b1ef.0+ZWxT6886olqcSc%phillip@lougher.demon.co.uk> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed