summaryrefslogtreecommitdiff
path: root/drivers/dma-buf/udmabuf.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2022-08-24 19:13:27 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-08-25 10:44:26 +0300
commitb3be4520d81e7dc820de5fdab0d7d697231cf517 (patch)
tree06f1ccfec5ea54ac462faada97ace18824bb3e1e /drivers/dma-buf/udmabuf.c
parente0c953034a35b85b60ccc792a7d6e5fd802d944b (diff)
downloadlinux-b3be4520d81e7dc820de5fdab0d7d697231cf517.tar.xz
drm/vc4: hvs: protect drm_print_regset32()
In vc4_hvs_dump_state() potentially freed resources are protected from being accessed with drm_dev_enter()/drm_dev_exit(). Also include drm_print_regset32() in the protected section, since drm_print_regset32() does access memory that is typically mapped via devm_* calls. Fixes: 969cfae1f01d ("drm/vc4: hvs: Protect device resources after removal") Signed-off-by: Danilo Krummrich <dakr@redhat.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220824161327.330627-5-dakr@redhat.com
Diffstat (limited to 'drivers/dma-buf/udmabuf.c')
0 files changed, 0 insertions, 0 deletions