linux/drivers/staging/zsmalloc
Seth Jennings b4b700c5a6 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 <sjenning@linux.vnet.ibm.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-13 17:21:46 -07:00
..
Kconfig staging: zsmalloc: remove SPARSEMEM dep from Kconfig 2012-03-07 13:31:28 -08:00
Makefile
zsmalloc-main.c staging: zsmalloc: fix uninit'ed variable warning 2012-06-13 17:21:46 -07:00
zsmalloc.h staging: zsmalloc: zsmalloc: use unsigned long instead of void * 2012-06-11 08:57:47 -07:00
zsmalloc_int.h staging: zsmalloc: rename zspage_order with zspage_pages 2012-05-09 13:20:22 -07:00