]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memcontrol.c: suppress uninitialized-var warning with older gcc's
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 23 Mar 2011 23:42:39 +0000 (16:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:46:32 +0000 (19:46 -0700)
commit44f91776acae1e0f0d144ac80c1baa28675bc666
treec7c1154aaba8e59523024c119fdf769284023a35
parentcdd4d4e5c556c30000277ec29f9e9a642f4bbc6e
mm/memcontrol.c: suppress uninitialized-var warning with older gcc's

mm/memcontrol.c: In function 'mem_cgroup_force_empty':
mm/memcontrol.c:2280: warning: 'flags' may be used uninitialized in this function

It's a false positive.

Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Greg Thelen <gthelen@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c