From: Jan Beulich Date: Thu, 23 Jan 2014 23:56:20 +0000 (-0800) Subject: lib/decompress_unlz4.c: always set an error return code on failures X-Git-Tag: v3.14-rc1~108^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a1d689c9ba42a6066540fb221b6ecbd6298b728;p=pandora-kernel.git lib/decompress_unlz4.c: always set an error return code on failures "ret", being set to -1 early on, gets cleared by the first invocation of lz4_decompress()/lz4_decompress_unknownoutputsize(), and hence subsequent failures wouldn't be noticed by the caller without setting it back to -1 right after those calls. Reported-by: Matthew Daley Signed-off-by: Jan Beulich Cc: Kyungsik Lee Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed