drm/radeon: check kmalloc() for failures
We can just return -ENOMEM here if the allocation fails. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NMichel Dänzer <michel.daenzer@amd.com> Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录