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 <gorcunov@openvz.org> Acked-by:
Jack Steiner <steiner@sgi.com> LKML-Reference: <20090501202511.GE4633@lenovo> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Loading
Please register or sign in to comment