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

drm/ttm: fix invalid NULL deref



The BO might be NULL in this function, use the bdev directly.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarColin Ian King <colin.king@canonical.com>
Fixes: a1f091f8 ("drm/ttm: switch to per device LRU lock")
Link: https://patchwork.freedesktop.org/patch/msgid/20210325152740.82633-1-christian.koenig@amd.com
parent 30e2ae94
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