edac_mc: check for allocation failure in edac_mc_alloc()
Add a check here for if kzalloc() failed. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
Showing
想要评论请 注册 或 登录