summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-08-13 21:41:53 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-08-13 21:41:53 +0200
commit15773b68fc5854e8890a8e251c568d583a540e4c (patch)
treedcfb91177f40d296f2b747debc7d8c8ebc64c1b0 /mm
parentMerge commit 'v3.6-rc1' into linux-next (diff)
parentmm/frontswap: fix uninit'ed variable warning (diff)
downloadlinux-15773b68fc5854e8890a8e251c568d583a540e4c.tar.xz
linux-15773b68fc5854e8890a8e251c568d583a540e4c.zip
Merge branch 'stable/for-linus-3.6' into linux-next
* stable/for-linus-3.6: mm/frontswap: fix uninit'ed variable warning
Diffstat (limited to 'mm')
-rw-r--r--mm/frontswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/frontswap.c b/mm/frontswap.c
index 6b3e71a2cd48..89dc399d3328 100644
--- a/mm/frontswap.c
+++ b/mm/frontswap.c
@@ -292,7 +292,7 @@ static int __frontswap_shrink(unsigned long target_pages,
void frontswap_shrink(unsigned long target_pages)
{
unsigned long pages_to_unuse = 0;
- int type, ret;
+ int uninitialized_var(type), ret;
/*
* we don't want to hold swap_lock while doing a very