summaryrefslogtreecommitdiffstats
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2009-12-14 21:45:19 +0000
committerH. Peter Anvin <hpa@zytor.com>2009-12-15 14:04:24 -0800
commit54291362d2a5738e1b0495df2abcb9e6b0563a3f (patch)
tree4b013a21d326ca474a4d785bb7586f88e2832ee9 /crypto/xor.c
parentd4529862cae4de19fda8d4bbcbddc60f3e48a4cf (diff)
downloadop-kernel-dev-54291362d2a5738e1b0495df2abcb9e6b0563a3f.zip
op-kernel-dev-54291362d2a5738e1b0495df2abcb9e6b0563a3f.tar.gz
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 <phillip@lougher.demon.co.uk> LKML-Reference: <4b26b1ef.0+ZWxT6886olqcSc%phillip@lougher.demon.co.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud