diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-13 15:41:53 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-13 15:41:53 -0400 |
commit | 15773b68fc5854e8890a8e251c568d583a540e4c (patch) | |
tree | dcfb91177f40d296f2b747debc7d8c8ebc64c1b0 /mm | |
parent | 0980bd9cd32de2fef7eaa2858345c49d14498625 (diff) | |
parent | 6b982fcf0260b8371604fcf6a12c6beecb731c57 (diff) | |
download | op-kernel-dev-15773b68fc5854e8890a8e251c568d583a540e4c.zip op-kernel-dev-15773b68fc5854e8890a8e251c568d583a540e4c.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/frontswap.c b/mm/frontswap.c index 6b3e71a..89dc399 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 |