[PATCH] Fix ppc32 zImage inflate
commit31925c8857ba17c11129b766a980ff7c87780301
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 30 Jul 2006 10:03:12 +0000 (30 03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:37 +0000 (31 13:28 -0700)
treea82ee8700076f19072780341c0aab35cee61b7eb
parent163ecdff060f2fa9e8f5238882fd0137493556a6
[PATCH] Fix ppc32 zImage inflate

The recent zlib update (commit 4f3865fb57a04db7cca068fed1c15badc064a302)
broke ppc32 zImage decompression as it tries to decompress to address zero
and the updated zlib_inflate checks that strm->next_out isn't a null
pointer.

This little patch fixes it.

[rpurdie@rpsys.net: add comment]
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/zlib_inflate/inflate.c