diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-13 21:41:53 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-13 21:41:53 +0200 |
commit | 15773b68fc5854e8890a8e251c568d583a540e4c (patch) | |
tree | dcfb91177f40d296f2b747debc7d8c8ebc64c1b0 /mm | |
parent | Merge commit 'v3.6-rc1' into linux-next (diff) | |
parent | mm/frontswap: fix uninit'ed variable warning (diff) | |
download | linux-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.c | 2 |
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 |