drm/ttm: check null pointer before accessing when swapping
authorjsg <jsg@openbsd.org>
Sun, 13 Aug 2023 10:20:31 +0000 (10:20 +0000)
committerjsg <jsg@openbsd.org>
Sun, 13 Aug 2023 10:20:31 +0000 (10:20 +0000)
commitd2b1f886bab242b4239fa98228a716195a62934f
tree054c87decbd115efbae1cd02bfd46c412a7ab1e9
parent8e12692080a7aeff5578dff91915a5dd8c16f376
drm/ttm: check null pointer before accessing when swapping

From Guchun Chen
1fdd16d89c01336d9a942b5f03673c17d401da87 in linux-6.1.y/6.1.45
2dedcf414bb01b8d966eb445db1d181d92304fb2 in mainline linux
sys/dev/pci/drm/ttm/ttm_bo.c