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

From: Stephen Rothwell
Date: Thu May 26 2016 - 23:07:18 EST


Hi Andrew,

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

mm/oom_kill.c: In function '__oom_reap_task':
mm/oom_kill.c:537:2: warning: 'mm' may be used uninitialized in this function [-Wmaybe-uninitialized]
mmput_async(mm);
^

Introduced by commit

df1e2f56632d ("oom_reaper: close race with exiting task")

This is real - the first "goto unlock_oom" is before "mm" has been
assigned.

--
Cheers,
Stephen Rothwell