diff options
| author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-06-13 16:03:42 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 17:21:46 -0700 |
| commit | b4b700c5a61c6e6db976f60d4eb6ad369e838aa9 (patch) | |
| tree | f6c27e301028ad6d82ed56ef38dc6d587f5d2f01 /scripts/patch-kernel | |
| parent | 03ae8189ee6cab3d4af3e39136105f02d7c35883 (diff) | |
| download | linux-b4b700c5a61c6e6db976f60d4eb6ad369e838aa9.tar.gz linux-b4b700c5a61c6e6db976f60d4eb6ad369e838aa9.zip | |
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
