瀏覽代碼

Merge branch 'stable/for-linus-3.6' into linux-next

* stable/for-linus-3.6:
  mm/frontswap: fix uninit'ed variable warning
Konrad Rzeszutek Wilk 13 年之前
父節點
當前提交
15773b68fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mm/frontswap.c

+ 1 - 1
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