proc: vmcore - use kzalloc in get_new_element()
Instead of kmalloc+memset better use straight kzalloc Signed-off-by: NCyrill Gorcunov <gorcunov@openvz.org> Reviewed-by: NWANG Cong <xiyou.wangcong@gmail.com> Acked-by: NVivek Goyal <vgoyal@redhat.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录