[PATCH] out_of_memory(): use of uninitialised

Under some circumstances `points' can get printed before it's initialised.
Spotted by Carlos Martin <carlos@cmartin.tk>.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
d6713e04 0551fbd2

+1 -1
+1 -1
mm/oom_kill.c
··· 302 302 { 303 303 struct mm_struct *mm = NULL; 304 304 task_t *p; 305 - unsigned long points; 305 + unsigned long points = 0; 306 306 307 307 if (printk_ratelimit()) { 308 308 printk("oom-killer: gfp_mask=0x%x, order=%d\n",