From: Cyrill Gorcunov Date: Fri, 1 May 2009 20:25:11 +0000 (+0400) Subject: x86: uv - prevent NULL dereference in uv_system_init() X-Git-Tag: v2.6.31-rc1~423^2~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a8709d44139748fe2e0ab56d20d8c384c8b65ad;p=pandora-kernel.git x86: uv - prevent NULL dereference in uv_system_init() We may reach NULL dereference oops if kmalloc failed. Prevent it with explicit BUG_ON. [ Impact: more controlled assert in 'impossible' scenario ] Signed-off-by: Cyrill Gorcunov Acked-by: Jack Steiner LKML-Reference: <20090501202511.GE4633@lenovo> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed