linux/drivers/gpu/drm/ttm
Christian König 58442f0db3 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: a1f091f8ef ("drm/ttm: switch to per device LRU lock")
Link: https://patchwork.freedesktop.org/patch/msgid/20210325152740.82633-1-christian.koenig@amd.com
2021-03-26 17:57:34 +01:00
..
Makefile drm/ttm: move memory accounting into vmwgfx v4 2021-02-09 17:27:33 +01:00
ttm_agp_backend.c drm/ttm: device naming cleanup 2021-01-21 14:51:45 +01:00
ttm_bo_util.c drm/ttm: remove swap LRU v3 2021-03-24 17:05:14 +01:00
ttm_bo_vm.c drm/ttm: device naming cleanup 2021-01-21 14:51:45 +01:00
ttm_bo.c drm/ttm: fix invalid NULL deref 2021-03-26 17:57:34 +01:00
ttm_device.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_execbuf_util.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_module.c drm/ttm: drop sysfs directory 2021-02-09 17:28:01 +01:00
ttm_module.h drm/ttm: drop sysfs directory 2021-02-09 17:28:01 +01:00
ttm_pool.c drm-misc-next for 5.13: 2021-03-16 17:08:46 +10:00
ttm_range_manager.c drm/ttm: device naming cleanup 2021-01-21 14:51:45 +01:00
ttm_resource.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_tt.c drm/ttm: move swapout logic around v3 2021-03-24 17:05:07 +01:00