Commit fe29501b authored by Andrew Morton's avatar Andrew Morton Committed by james toy

Cc: "H. Peter Anvin" <hpa@zytor.com>

Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 0aa09174
...@@ -101,9 +101,9 @@ STATIC inline int INIT unlzo(u8 *input, int in_len, ...@@ -101,9 +101,9 @@ STATIC inline int INIT unlzo(u8 *input, int in_len,
set_error_fn(error_fn); set_error_fn(error_fn);
if (output) if (output) {
out_buf = output; out_buf = output;
else if (!flush) { } else if (!flush) {
error("NULL output pointer and no flush function provided"); error("NULL output pointer and no flush function provided");
goto exit; goto exit;
} else { } else {
...@@ -117,9 +117,9 @@ STATIC inline int INIT unlzo(u8 *input, int in_len, ...@@ -117,9 +117,9 @@ STATIC inline int INIT unlzo(u8 *input, int in_len,
if (input && fill) { if (input && fill) {
error("Both input pointer and fill function provided, don't know what to do"); error("Both input pointer and fill function provided, don't know what to do");
goto exit_1; goto exit_1;
} else if (input) } else if (input) {
in_buf = input; in_buf = input;
else if (!fill || !posp) { } else if (!fill || !posp) {
error("NULL input pointer and missing position pointer or fill function"); error("NULL input pointer and missing position pointer or fill function");
goto exit_1; goto exit_1;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment