summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-03-25 16:06:57 +0100
committerChristian König <christian.koenig@amd.com>2021-03-26 17:57:34 +0100
commit58442f0db3f89b7e77113295c72ac0672f74f92a (patch)
treefdd506fee078afbbb0364e3984ddc9d68e25bb70 /include/drm
parent30e2ae943c260036ea494b601343f6ed5ce7bc60 (diff)
downloadlinux-next-58442f0db3f89b7e77113295c72ac0672f74f92a.tar.gz
drm/ttm: fix invalid NULL deref
The BO might be NULL in this function, use the bdev directly. Signed-off-by: Christian König <christian.koenig@amd.com> Reported-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Colin Ian King <colin.king@canonical.com> Fixes: a1f091f8ef2b ("drm/ttm: switch to per device LRU lock") Link: https://patchwork.freedesktop.org/patch/msgid/20210325152740.82633-1-christian.koenig@amd.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions