summaryrefslogtreecommitdiffstats
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-08-13 15:41:53 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-08-13 15:41:53 -0400
commit15773b68fc5854e8890a8e251c568d583a540e4c (patch)
treedcfb91177f40d296f2b747debc7d8c8ebc64c1b0 /mm/frontswap.c
parent0980bd9cd32de2fef7eaa2858345c49d14498625 (diff)
parent6b982fcf0260b8371604fcf6a12c6beecb731c57 (diff)
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/frontswap.c')
-rw-r--r--mm/frontswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/frontswap.c b/mm/frontswap.c
index 6b3e71a2cd4..89dc399d332 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