linux-next: build warning after merge of the akpm tree

From: Stephen Rothwell
Date: Fri Apr 27 2012 - 01:59:44 EST


Hi Andrew,

After merging the akpm tree, today's linux-next build ()
produced this warning:

kernel/sys.c: In function 'prctl_set_mm':
kernel/sys.c:1779:6: warning: 'error' may be used uninitialized in this function [-Wuninitialized]

And this is not a false positive (I think).

Introduced by commit 5455a20be1a6 ("c/r: prctl: extend PR_SET_MM to set
up more mm_struct entries").

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature