From: Seth Jennings Date: Wed, 13 Jun 2012 21:03:42 +0000 (-0500) Subject: staging: zsmalloc: fix uninit'ed variable warning X-Git-Tag: v3.6-rc1~100^2~757 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b700c5a61c6e6db976f60d4eb6ad369e838aa9;p=pandora-kernel.git staging: zsmalloc: fix uninit'ed variable warning This patch fixes an uninitialized variable warning in alloc_zspage(). It also fixes the secondary issue of prev_page leaving scope on each loop iteration. The only reason this ever worked was because prev_page was occupying the same space on the stack on each iteration. Signed-off-by: Seth Jennings Reported-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed