projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[linux-2.6-block.git]
/
lib
/
decompress_unlzma.c
diff --git
a/lib/decompress_unlzma.c
b/lib/decompress_unlzma.c
index decb64629c146b64e770f37ccba89e0cba9e94a3..ed7a1fd819f2fbc86b3ad0f238fce01739a8e07f 100644
(file)
--- a/
lib/decompress_unlzma.c
+++ b/
lib/decompress_unlzma.c
@@
-620,7
+620,7
@@
STATIC inline int INIT unlzma(unsigned char *buf, long in_len,
num_probs = LZMA_BASE_SIZE + (LZMA_LIT_SIZE << (lc + lp));
p = (uint16_t *) large_malloc(num_probs * sizeof(*p));
- if (p ==
0
)
+ if (p ==
NULL
)
goto exit_2;
num_probs = LZMA_LITERAL + (LZMA_LIT_SIZE << (lc + lp));
for (i = 0; i < num_probs; i++)