diff options
author | Christian König <[email protected]> | 2021-04-09 14:58:43 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2021-04-21 15:35:11 +0200 |
commit | 8a9d24f222ea1b1c20dffbc62bff736f3f94b768 (patch) | |
tree | e90dc78438beba2e44f7c7cb345c01527f0c3cee /drivers/gpu/drm/amd | |
parent | 5a7bd25992e48aacdbd73c09a54f15cd163e92cd (diff) |
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: Christian König <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd')
0 files changed, 0 insertions, 0 deletions