]> git.hungrycats.org Git - linux/commit
[PATCH] fix uninitialized warnings in mempolicy.c
authorJesse Barnes <jbarnes@engr.sgi.com>
Tue, 14 Sep 2004 00:51:00 +0000 (17:51 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 14 Sep 2004 00:51:00 +0000 (17:51 -0700)
commitb08b6ae839d5ababcb7d848d6ace16a0adcdbd24
tree23c0ddc3496f3aafb974837902da84ba99383b32
parentea0547ed98831a43939f64e364a3c28627690b70
[PATCH] fix uninitialized warnings in mempolicy.c

err may be used uninitialized in mempolicy.c in both compat_set_mempolicy
and compat_mbind.  This patch fixes that by setting them both to 0.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c