drm/ttm: handle OOM in ttm_tt_swapout
- Without this change I get a general protection fault. - Also use PTR_ERR where applicable. Signed-off-by: NMaarten Maathuis <madman2003@gmail.com> Reviewed-by: NDave Airlie <airlied@redhat.com> Acked-by: NThomas Hellstrom <thellstrom@vmware.com> Cc: stable@kernel.org Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录