Skip to content
Commit a28e10ed authored by Christian König's avatar Christian König
Browse files

drm/ttm: fix return value check



The function returns the number of swapped pages here. Only abort when we get
a negative error code.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210409130113.1459-1-christian.koenig@amd.com
parent f4268a4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment